[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Also read files that contain "Bridge " as a prefix
commit c9301b8eda40401a2bb73350d20053b2bb87931a
Author: Arturo Filastò <art@xxxxxxxxx>
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):
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits