Unverified Commit ac7df7fd authored by Isis Lovecruft's avatar Isis Lovecruft
Browse files

Print fingerprints in hex thank you very much.

parent 2ec54aa2
...@@ -25,6 +25,7 @@ from bridgedb.bridges import Bridge ...@@ -25,6 +25,7 @@ from bridgedb.bridges import Bridge
from bridgedb.crypto import getHMACFunc from bridgedb.crypto import getHMACFunc
from bridgedb.parse import addr from bridgedb.parse import addr
from bridgedb.parse.fingerprint import isValidFingerprint from bridgedb.parse.fingerprint import isValidFingerprint
from bridgedb.parse.fingerprint import toHex
from bridgedb.safelog import logSafely from bridgedb.safelog import logSafely
try: try:
...@@ -284,7 +285,7 @@ class BridgeRing(object): ...@@ -284,7 +285,7 @@ class BridgeRing(object):
# HOTFIX for https://bugs.torproject.org/26150 # HOTFIX for https://bugs.torproject.org/26150
if not bridge.address: if not bridge.address:
logging.error("Got strange bridge with no address field set: %s" logging.error("Got strange bridge with no address field set: %s"
% fingerprint) % toHex(fingerprint))
continue continue
for subnet in subnets: for subnet in subnets:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment