[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Remove unused exception ParseORAddressError from bridgedb.Bridges.



commit ad7b1b14f4056812290c49186ab0aeabc13da772
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Sat Dec 7 13:14:37 2013 +0000

    Remove unused exception ParseORAddressError from bridgedb.Bridges.
---
 lib/bridgedb/Bridges.py |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index 61f3412..158c980 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -365,11 +365,6 @@ def parseDescFile(f, bridge_purpose='bridge'):
             nickname = ip = orport = fingerprint = purpose = None 
 
 
-class ParseORAddressError(Exception):
-    def __init__(self):
-        msg = "Invalid or-address line"
-        Exception.__init__(self, msg)
-
 re_ipv6 = re.compile("\[([a-fA-F0-9:]+)\]:(.*$)")
 re_ipv4 = re.compile("((?:\d{1,3}\.?){4}):(.*$)")
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits