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/util.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/util.py')
-rw-r--r-- | lib/thandy/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thandy/util.py b/lib/thandy/util.py index e9db10a..90f251f 100644 --- a/lib/thandy/util.py +++ b/lib/thandy/util.py @@ -191,7 +191,7 @@ def getRegistryValue(keyname): try: settings = _winreg.OpenKey(base, key) return _winreg.QueryValueEx(settings, value)[0] - except (WindowsError, ValueError, TypeError): + except (OSError, ValueError, TypeError): return None finally: if settings is not None: |