[tor-commits] [ooni-probe/master] Also read files that contain "Bridge " as a prefix
art at torproject.org
art at torproject.org
Mon Mar 24 15:02:47 UTC 2014
commit c9301b8eda40401a2bb73350d20053b2bb87931a
Author: Arturo Filastò <art at fuffa.org>
Date: Sun Mar 9 22:51:47 2014 +0100
Also read files that contain "Bridge " as a prefix
---
ooni/nettests/blocking/bridge_reachability.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ooni/nettests/blocking/bridge_reachability.py b/ooni/nettests/blocking/bridge_reachability.py
index 970e477..8e15f44 100644
--- a/ooni/nettests/blocking/bridge_reachability.py
+++ b/ooni/nettests/blocking/bridge_reachability.py
@@ -18,7 +18,7 @@ class UsageOptions(usage.Options):
]
class BridgeReachability(nettest.NetTestCase):
- name = "BridgeReachability"
+ name = "Bridge Reachability"
author = "Arturo Filastò"
version = "0.1"
@@ -36,6 +36,8 @@ class BridgeReachability(nettest.NetTestCase):
self.timeout = int(self.localOptions['timeout'])
self.report['timeout'] = self.timeout
self.bridge = self.input
+ if self.input.startswith('Bridge'):
+ self.bridge = self.input.replace('Bridge ', '')
self.pyobfsproxy_bin = find_executable('obfsproxy')
def test_full_tor_connection(self):
More information about the tor-commits
mailing list