[tor-commits] [bridgedb/master] Remove `return` statement which is never executed in parse.addr._isIPv().
isis at torproject.org
isis at torproject.org
Sun Jan 12 06:06:33 UTC 2014
commit 86e1fcf0a7e535e7d29a8710c7b4467bd7385763
Author: Isis Lovecruft <isis at torproject.org>
Date: Sat Dec 7 04:36:54 2013 +0000
Remove `return` statement which is never executed in parse.addr._isIPv().
---
lib/bridgedb/parse/addr.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/bridgedb/parse/addr.py b/lib/bridgedb/parse/addr.py
index 10c5b25..360ab1f 100644
--- a/lib/bridgedb/parse/addr.py
+++ b/lib/bridgedb/parse/addr.py
@@ -195,7 +195,6 @@ def _isIPv(version, ip):
return False
else:
return True
- return False
def isIPv4(ip):
"""Check if an address is IPv4.
More information about the tor-commits
mailing list