[tor-commits] [bridgedb/master] Remove tabs

aagbsn at torproject.org aagbsn at torproject.org
Sat Jun 22 17:45:04 UTC 2013


commit 7706539c12abf23cf919007c27e1c1b2e01af64d
Author: aagbsn <aagbsn at extc.org>
Date:   Sat Jun 22 19:23:36 2013 +0200

    Remove tabs
---
 lib/bridgedb/Main.py |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/bridgedb/Main.py b/lib/bridgedb/Main.py
index 9f09b7f..90b2998 100644
--- a/lib/bridgedb/Main.py
+++ b/lib/bridgedb/Main.py
@@ -192,11 +192,11 @@ def load(cfg, splitter, clear=False):
             # XXX: what do we do with all these or_addresses?
             # The bridge stability metrics are only concerned with a single ip:port
             # So for now, we will only consider the bridges primary IP:port
-	    if bridge.getID() in timestamps.keys():
-            	ts = timestamps[bridge.getID()][:]
-            	ts.sort()
-            	for timestamp in ts:
-            	    bridgedb.Stability.addOrUpdateBridgeHistory(bridge, timestamp)
+            if bridge.getID() in timestamps.keys():
+                ts = timestamps[bridge.getID()][:]
+                ts.sort()
+                for timestamp in ts:
+                    bridgedb.Stability.addOrUpdateBridgeHistory(bridge, timestamp)
         f.close()
     # read pluggable transports from extra-info document
     # XXX: should read from networkstatus after bridge-authority





More information about the tor-commits mailing list