[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Remove except handler which never gets executed in bridgedb.parse.addr.
commit de3657f419577e165550830bb38ca701c93cc800
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits