commit 3ad40791278a53e95d7f327f64a075c77a3a0794 Author: Arturo Filastò hellais@gmail.com 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@lists.torproject.org