commit cb48781f10986cdc6a3af1121732923f2470991b Author: Arturo Filastò art@fuffa.org Date: Mon Mar 10 23:13:45 2014 +0100
Include the transport type in the summary. --- ooni/nettests/blocking/bridge_reachability.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ooni/nettests/blocking/bridge_reachability.py b/ooni/nettests/blocking/bridge_reachability.py index d55ba29..0d985ae 100644 --- a/ooni/nettests/blocking/bridge_reachability.py +++ b/ooni/nettests/blocking/bridge_reachability.py @@ -74,8 +74,8 @@ class BridgeReachability(nettest.NetTestCase): count(summary['successes'], successful_count) count(summary['failures'], failure_count)
- working_bridges = ', '.join([x['address'] for x in summary['successes']]) - failing_bridges = ', '.join([x['address'] + " (at %s%%)" % x['tor_progress'] for x in summary['failures']]) + working_bridges = ', '.join(["%s %s" % (x['transport_name'], x['address']) for x in summary['successes']]) + failing_bridges = ', '.join(["%s %s (at %s%%)" % (x['transport_name'], x['address'], x['tor_progress']) for x in summary['failures']])
print "Total successes: %d" % len(summary['successes']) print "Total failures: %d" % len(summary['failures'])
tor-commits@lists.torproject.org