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

[tor-commits] [bridgedb/master] Change formatting of two logs in bridgedb.Main to use '%' syntax.



commit b780f6f341f0432a3114e1c5f76f37079533c8e2
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Tue Nov 5 08:10:22 2013 +0000

    Change formatting of two logs in bridgedb.Main to use '%' syntax.
---
 lib/bridgedb/Main.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/Main.py b/lib/bridgedb/Main.py
index 27c438d..e648771 100644
--- a/lib/bridgedb/Main.py
+++ b/lib/bridgedb/Main.py
@@ -101,8 +101,8 @@ def load(cfg, splitter, clear=False):
     db = bridgedb.Storage.getDB()
 
     for fname in cfg.BRIDGE_FILES:
-        logging.info("Opening cached Descriptor document %s", fname)
-        logging.debug("Parsing document for purpose=%s", cfg.BRIDGE_PURPOSE)
+        logging.info("Opening cached server-descriptor document: '%s'" % fname)
+        logging.debug("Parsing document for purpose=%s" % cfg.BRIDGE_PURPOSE)
         f = open(fname, 'r')
         for bridge in Bridges.parseDescFile(f, cfg.BRIDGE_PURPOSE):
             if bridge.getID() in bridges:



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