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

[tor-commits] [bridgedb/develop] Print fingerprints in hex thank you very much.



commit ac7df7fdc00464585f9220dc4bfbc675c57fd2d0
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Mon May 21 18:58:52 2018 +0000

    Print fingerprints in hex thank you very much.
---
 bridgedb/Bridges.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bridgedb/Bridges.py b/bridgedb/Bridges.py
index 7257617..3b1e5b5 100644
--- a/bridgedb/Bridges.py
+++ b/bridgedb/Bridges.py
@@ -25,6 +25,7 @@ from bridgedb.bridges import Bridge
 from bridgedb.crypto import getHMACFunc
 from bridgedb.parse import addr
 from bridgedb.parse.fingerprint import isValidFingerprint
+from bridgedb.parse.fingerprint import toHex
 from bridgedb.safelog import logSafely
 
 try:
@@ -284,7 +285,7 @@ class BridgeRing(object):
             # HOTFIX for https://bugs.torproject.org/26150
             if not bridge.address:
                 logging.error("Got strange bridge with no address field set: %s"
-                              % fingerprint)
+                              % toHex(fingerprint))
                 continue
 
             for subnet in subnets:



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