mirror of
https://github.com/mnaberez/py65.git
synced 2024-09-29 22:56:17 +00:00
Removing unused imports
This commit is contained in:
parent
1e1791652e
commit
d38831db1f
@ -135,7 +135,6 @@ class Monitor(cmd.Cmd):
|
|||||||
result = cmd.Cmd.onecmd(self, line)
|
result = cmd.Cmd.onecmd(self, line)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
self._output("Interrupt")
|
self._output("Interrupt")
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
(file, fun, line), t, v, tbinfo = compact_traceback()
|
(file, fun, line), t, v, tbinfo = compact_traceback()
|
||||||
error = 'Error: %s, %s: file: %s line: %s' % (t, v, file, line)
|
error = 'Error: %s, %s: file: %s line: %s' % (t, v, file, line)
|
||||||
@ -498,7 +497,6 @@ class Monitor(cmd.Cmd):
|
|||||||
# Switch back to the previous input mode.
|
# Switch back to the previous input mode.
|
||||||
console.restore_mode(self.stdin)
|
console.restore_mode(self.stdin)
|
||||||
|
|
||||||
|
|
||||||
def help_radix(self):
|
def help_radix(self):
|
||||||
self._output("radix [H|D|O|B]")
|
self._output("radix [H|D|O|B]")
|
||||||
self._output("Set default radix to hex, decimal, octal, or binary.")
|
self._output("Set default radix to hex, decimal, octal, or binary.")
|
||||||
|
@ -36,10 +36,7 @@ if sys.platform[:3] == "win":
|
|||||||
return ''
|
return ''
|
||||||
|
|
||||||
else:
|
else:
|
||||||
import select
|
|
||||||
import os
|
|
||||||
import termios
|
import termios
|
||||||
import fcntl
|
|
||||||
|
|
||||||
oldattr = None
|
oldattr = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user