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

[tor-commits] [bridgedb/master] Remove `return` statement which is never executed in parse.addr._isIPv().



commit 86e1fcf0a7e535e7d29a8710c7b4467bd7385763
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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.



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