From d38831db1f7dab9d2b25a3055fec3dd86071b210 Mon Sep 17 00:00:00 2001 From: Sam Colwell Date: Sat, 12 Jan 2019 12:58:39 -0500 Subject: [PATCH] Removing unused imports --- py65/monitor.py | 2 -- py65/utils/console.py | 3 --- 2 files changed, 5 deletions(-) diff --git a/py65/monitor.py b/py65/monitor.py index 1767729..4a2d800 100644 --- a/py65/monitor.py +++ b/py65/monitor.py @@ -135,7 +135,6 @@ class Monitor(cmd.Cmd): result = cmd.Cmd.onecmd(self, line) except KeyboardInterrupt: self._output("Interrupt") - except Exception: (file, fun, line), t, v, tbinfo = compact_traceback() 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. console.restore_mode(self.stdin) - def help_radix(self): self._output("radix [H|D|O|B]") self._output("Set default radix to hex, decimal, octal, or binary.") diff --git a/py65/utils/console.py b/py65/utils/console.py index 75c199c..59d4b56 100644 --- a/py65/utils/console.py +++ b/py65/utils/console.py @@ -36,10 +36,7 @@ if sys.platform[:3] == "win": return '' else: - import select - import os import termios - import fcntl oldattr = None