[tor-commits] [bridgedb/master] Change two log calls in bridgedb.bridges.Bridge to use Bridge.__str__().

isis at torproject.org isis at torproject.org
Sat Mar 21 02:03:00 UTC 2015


commit 07288fb57ba855ee6821142a111db1c2e43c875d
Author: Isis Lovecruft <isis at torproject.org>
Date:   Fri Feb 13 07:34:24 2015 +0000

    Change two log calls in bridgedb.bridges.Bridge to use Bridge.__str__().
---
 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 9a0a0ff..54ffbe8 100644
--- a/lib/bridgedb/bridges.py
+++ b/lib/bridgedb/bridges.py
@@ -1522,7 +1522,7 @@ class Bridge(BridgeBackwardsCompatibility):
                 # it:
                 logging.info(
                     "Received new %s pluggable transport for bridge %s."
-                    % (methodname, safelog.logSafely(self.fingerprint)))
+                    % (methodname, self))
                 transport = PluggableTransport()
                 transport.updateFromStemTransport(str(self.fingerprint),
                                                   methodname,





More information about the tor-commits mailing list