[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Revert "We should be consistant and use lowercase"
commit d2a2d0c8b73399dbc7ecc0cde2bdd8f93006138c
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Sun Feb 9 22:15:46 2014 +0000
Revert "We should be consistant and use lowercase"
This reverts commit b502658ff210630328e56c142368f4b44357a205.
Signed-off-by: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
---
lib/bridgedb/Bridges.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index f44be55..4aaf86f 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -470,7 +470,7 @@ def parseDescFile(f, bridge_purpose='bridge'):
ip = items[2].strip('[]')
orport = int(items[3])
elif line.startswith("fingerprint "):
- fingerprint = line[12:].replace(" ", "").lower()
+ fingerprint = line[12:].replace(" ", "")
elif line.startswith("router-signature"):
purposeMatches = (purpose == bridge_purpose or bridge_purpose is None)
if purposeMatches and nickname and ip and orport and fingerprint:
@@ -636,7 +636,7 @@ def parseStatusFile(networkstatusFile):
if line.startswith("r "):
(nickname, ID, descDigest, timestamp,
ORaddr, ORport, dirport) = networkstatus.parseRLine(line)
- hexID = toHex(ID).lower()
+ hexID = toHex(ID)
logging.debug("Parsed networkstatus line:")
logging.debug(" Nickname: %s" % nickname)
logging.debug(" Identity: %s" % hexID)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits