mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-19 07:53:47 +02:00
Do not crash if module ioucon is loaded by tests on Windows
This commit is contained in:
parent
289b68e5c1
commit
f1ab682be9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user