1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Do not crash if module ioucon is loaded by tests on Windows

This commit is contained in:
Julien Duponchelle 2015-05-26 11:18:56 +02:00
parent 289b68e5c1
commit f1ab682be9

View File

@ -21,10 +21,14 @@ import socket
import sys import sys
import os import os
import select import select
import fcntl try:
import fcntl
import termios
import tty
except ImportError:
# On windows it's not available but this module can be included by the test suite
pass
import struct import struct
import termios
import tty
import time import time
import argparse import argparse
import traceback import traceback