[tor-commits] [ooni-probe/master] Use log.msg
art at torproject.org
art at torproject.org
Mon Mar 24 15:02:47 UTC 2014
commit 9b7fc3f1205b5db9c6edb38899375daa6b6b98b2
Author: Arturo Filastò <art at fuffa.org>
Date: Sat Mar 1 13:34:34 2014 +0100
Use log.msg
---
ooni/nettests/blocking/bridge_reachability.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ooni/nettests/blocking/bridge_reachability.py b/ooni/nettests/blocking/bridge_reachability.py
index acce3d3..eb03983 100644
--- a/ooni/nettests/blocking/bridge_reachability.py
+++ b/ooni/nettests/blocking/bridge_reachability.py
@@ -68,7 +68,7 @@ class BridgeReachability(nettest.NetTestCase):
config.save()
def updates(prog, tag, summary):
- print "Tor progress: %s%%" % prog
+ log.msg("Tor progress: %s%%" % prog)
self.report['tor_progress'] = int(prog)
self.report['tor_progress_tag'] = tag
self.report['tor_progress_summary'] = summary
@@ -77,12 +77,12 @@ class BridgeReachability(nettest.NetTestCase):
progress_updates=updates)
@d.addCallback
def setup_complete(proto):
- print "Success"
+ log.msg("Success")
self.report['success'] = True
@d.addErrback
def setup_failed(failure):
- print "Failed"
+ log.msg("Failed")
log.exception(failure)
self.report['success'] = False
More information about the tor-commits
mailing list