Remove unused "import curses".
This commit is contained in:
parent
c580dae6da
commit
51060be2f8
|
@ -28,7 +28,6 @@ try:
|
||||||
# We can only do this trick on Unix (if tput is on $PATH)!
|
# We can only do this trick on Unix (if tput is on $PATH)!
|
||||||
if sys.platform != "posix" or not sys.stderr.isatty():
|
if sys.platform != "posix" or not sys.stderr.isatty():
|
||||||
raise ImportError
|
raise ImportError
|
||||||
import curses
|
|
||||||
import commands
|
import commands
|
||||||
except ImportError:
|
except ImportError:
|
||||||
bwrite = ewrite
|
bwrite = ewrite
|
||||||
|
|
Loading…
Reference in New Issue