[tor-commits] [bridgedb/master] Remove except handler which never gets executed in bridgedb.parse.addr.
isis at torproject.org
isis at torproject.org
Sun Jan 12 06:06:33 UTC 2014
commit de3657f419577e165550830bb38ca701c93cc800
Author: Isis Lovecruft <isis at torproject.org>
Date: Sat Dec 7 04:30:17 2013 +0000
Remove except handler which never gets executed in bridgedb.parse.addr.
---
lib/bridgedb/parse/addr.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/bridgedb/parse/addr.py b/lib/bridgedb/parse/addr.py
index 6274c23..6a3ed52 100644
--- a/lib/bridgedb/parse/addr.py
+++ b/lib/bridgedb/parse/addr.py
@@ -170,8 +170,6 @@ def isIPAddress(ip, compressed=True):
ip = ipaddr.IPAddress(ip)
except ValueError:
return False
- except Exception as error:
- logging.exception(error)
else:
if isValidIP(ip):
if compressed:
More information about the tor-commits
mailing list