[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Fix bug in bridget
commit 3ad40791278a53e95d7f327f64a075c77a3a0794
Author: Arturo Filastò <hellais@xxxxxxxxx>
Date: Tue Feb 7 19:22:48 2012 +0100
Fix bug in bridget
---
refactor/tests/bridget.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/refactor/tests/bridget.py b/refactor/tests/bridget.py
index c3d0055..9ec499f 100644
--- a/refactor/tests/bridget.py
+++ b/refactor/tests/bridget.py
@@ -52,7 +52,9 @@ DataDirectory %s
os.mkdir(datadir)
return (randomname, datadir)
- def connect(self, bridge, timeout=self.timeout):
+ def connect(self, bridge, timeout):
+ if not timeout:
+ timeout = self.timeout
torrc, tordir = self.writetorrc(bridge)
cmd = ["tor", "-f", torrc]
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits