[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Compare against Tor version 0.2.3.2 and fix #5207
commit b8d0d4a071c584dbfdf5af942ead18525abe5d41
Author: Arturo Filastò <hellais@xxxxxxxxx>
Date: Fri Mar 2 16:34:25 2012 -0800
Compare against Tor version 0.2.3.2 and fix #5207
---
tests/bridget.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tests/bridget.py b/tests/bridget.py
index 52bff75..86901cd 100644
--- a/tests/bridget.py
+++ b/tests/bridget.py
@@ -94,6 +94,9 @@ class BridgeT(Plugoo):
for i, x in enumerate(v_array):
try:
+ if i > len(v_array_p):
+ break
+
if int(x) > int(v_array_p[i]):
self.logger.info("The Tor version is greater than %s" % version)
return True
@@ -152,7 +155,7 @@ ControlPort %s
""" % (socksport, obfsbridge, datadir, controlport)
else:
self.logger.debug("Generating torrc file for bridge")
- if self.tor_greater_than('0.2.2'):
+ if self.tor_greater_than('0.2.3.2'):
torrc = """SocksPort %s
UseBridges 1
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits