commit 88e6aeaed8c55362739550561369a50bdddbed33 Author: Isis Lovecruft isis@torproject.org Date: Wed Apr 2 12:06:52 2014 +0000
Fix a bug in bridgedb.Bridges due to catching a non-existent exception. --- lib/bridgedb/Bridges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py index 14820cc..5c406f6 100644 --- a/lib/bridgedb/Bridges.py +++ b/lib/bridgedb/Bridges.py @@ -683,7 +683,7 @@ def parseStatusFile(networkstatusFile): elif ID and line.startswith("a "): try: addr, portlist = networkstatus.parseALine(line, toHex(ID)) - except networkstatus.ParseNetstatusError as error: + except networkstatus.NetworkstatusParsingError as error: logging.error(error) else: if (addr is not None) and (portlist is not None):
tor-commits@lists.torproject.org