[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Minor PEP8 whitespace fixes in bridgedb.Bridges.BridgeRing.setName().
commit eccd03a6d58a0f400c1ae5caa822bbd38dc342cf
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Sun Jan 12 01:10:36 2014 +0000
Minor PEP8 whitespace fixes in bridgedb.Bridges.BridgeRing.setName().
---
lib/bridgedb/Bridges.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index 198263b..da231a4 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -733,11 +733,11 @@ class BridgeRing(BridgeHolder):
:param string name: The name for this hashring.
"""
self.name = name
- for tp,val,_,subring in self.subrings:
+ for tp, val, _, subring in self.subrings:
if tp == 'port':
- subring.setName("%s (port-%s subring)"%(name, val))
+ subring.setName("%s (port-%s subring)" % (name, val))
else:
- subring.setName("%s (%s subring)"%(name, val))
+ subring.setName("%s (%s subring)" % (name, val))
def __len__(self):
return len(self.bridges)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits