[tor-commits] [bridgedb/master] One tiny PEP8 fix in bridgedb.Tests.

isis at torproject.org isis at torproject.org
Sun Jan 12 06:06:35 UTC 2014


commit 53ac738dc59032b97f9b9c012f63cc565a3802b2
Author: Isis Lovecruft <isis at torproject.org>
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():





More information about the tor-commits mailing list