diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-01-22 10:54:34 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-01-22 10:56:31 -0500 |
commit | b64339f48280872deec7bb980a61e494f6f38c92 (patch) | |
tree | fe8262b8a6e7ca572cfe8c5c26720670697d8f8d /lib/thandy/ClientCLI.py | |
parent | 2068158fd08ca042b874422ee3826f40803f31d8 (diff) |
Fix multiple pychecker-spotted typos.
These are mostly typos in methods that don't get used in the current
Thandy, error in error-handling paths, modules we imported
unnecessarily, etc.
Diffstat (limited to 'lib/thandy/ClientCLI.py')
-rw-r--r-- | lib/thandy/ClientCLI.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/thandy/ClientCLI.py b/lib/thandy/ClientCLI.py index 14a149a..1994049 100644 --- a/lib/thandy/ClientCLI.py +++ b/lib/thandy/ClientCLI.py @@ -32,7 +32,7 @@ class ControlLogFormatter: thandy.util.formatLogString(m)) def formatException(self, exc_info): - return repr(traceback.print_exception()) + return repr(traceback.format_exception(*exc_info)) class RegularLogFilter: def filter(self, record): @@ -76,7 +76,6 @@ def update(args): use_packagesys = True install = False socksPort = None - logLevel = logging.INFO forceCheck = False for o, v in options: |