[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] One tiny PEP8 fix in bridgedb.Tests.
commit 53ac738dc59032b97f9b9c012f63cc565a3802b2
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Fri Dec 20 03:42:12 2013 +0000
One tiny PEP8 fix in bridgedb.Tests.
---
lib/bridgedb/Tests.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/bridgedb/Tests.py b/lib/bridgedb/Tests.py
index 8e61454..90726cb 100644
--- a/lib/bridgedb/Tests.py
+++ b/lib/bridgedb/Tests.py
@@ -39,7 +39,8 @@ def suppressWarnings():
warnings.filterwarnings('ignore', '.*tmpnam.*')
def randomIP():
- if random.choice(xrange(2)): return randomIP4()
+ if random.choice(xrange(2)):
+ return randomIP4()
return randomIP6()
def randomIP4():
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits