[tor-commits] [bridgedb/develop] Add note that bridgedb.Bridges.ID_LEN isn't used.

isis at torproject.org isis at torproject.org
Thu Aug 28 04:02:17 UTC 2014


commit 77ec3514a68af4398f1471ed36cbd9baa42b1bb2
Author: Isis Lovecruft <isis at torproject.org>
Date:   Tue Jun 10 22:08:22 2014 +0000

    Add note that bridgedb.Bridges.ID_LEN isn't used.
    
    It's only occurence is in one commented out line of code, in
    bridgedb.Storage:
    L414: #        bridgedb.Bridges.chopString(v, bridgedb.Bridges.ID_LEN)))
---
 lib/bridgedb/Bridges.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index a338b40..50519fb 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -36,7 +36,7 @@ except ImportError:
     from io import StringIO
 
 
-ID_LEN = 20
+ID_LEN = 20  # XXX Only used in commented out line in Storage.py
 DIGEST_LEN = 20
 PORTSPEC_LEN = 16
 





More information about the tor-commits mailing list