[tor-commits] [oonib/master] Also apply encoding to the debug level logs.
art at torproject.org
art at torproject.org
Wed May 21 10:48:10 UTC 2014
commit b4d1a8a1392cc72bbb60f14c89a3d81390d5c154
Author: Arturo Filastò <art at fuffa.org>
Date: Mon May 5 15:00:35 2014 +0200
Also apply encoding to the debug level logs.
---
oonib/log.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oonib/log.py b/oonib/log.py
index 36fe414..a79199e 100644
--- a/oonib/log.py
+++ b/oonib/log.py
@@ -88,7 +88,7 @@ def msg(msg, *arg, **kw):
def debug(msg, *arg, **kw):
if config.main.get('debug'):
- print "[D] %s" % msg
+ print "[D] %s" % log_encode(msg)
def warn(msg, *arg, **kw):
More information about the tor-commits
mailing list