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

[tor-commits] [bridgedb/master] Fix whitespace in gen_bridge_descriptors script.



commit 39556e3d3713087d98ddb6ec6183863a3a0adf8b
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Mon Oct 14 22:03:31 2013 +0000

    Fix whitespace in gen_bridge_descriptors script.
    
     * REMOVE one EOL whitespace, a blankline with extra whitespace.
     * FIX a tab before a space.
---
 scripts/gen_bridge_descriptors |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/gen_bridge_descriptors b/scripts/gen_bridge_descriptors
index b5c89eb..ff0f589 100644
--- a/scripts/gen_bridge_descriptors
+++ b/scripts/gen_bridge_descriptors
@@ -27,7 +27,7 @@ def gettimestamp():
 def getHexString(size):
     s = ""
     for i in xrange(size):
-        s+= random.choice("ABCDEF0123456789") 
+        s+= random.choice("ABCDEF0123456789")
     return s
 
 def generateDesc():
@@ -83,8 +83,8 @@ if __name__ == "__main__":
         df += desc
 
         sf += generateStatus(info)
-	ei += generateExtraInfo(binascii.b2a_hex(info[0]))
-        
+        ei += generateExtraInfo(binascii.b2a_hex(info[0]))
+
     try:
         f = open("networkstatus-bridges", 'w')
         f.write(sf)



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