[tor-commits] [ooni-probe/master] Fix bug in timeout

art at torproject.org art at torproject.org
Tue Feb 7 18:24:10 UTC 2012


commit f0b2a98744d8f098632721648adf6ea40c9489ca
Author: Arturo Filastò <hellais at gmail.com>
Date:   Tue Feb 7 19:24:19 2012 +0100

    Fix bug in timeout
---
 refactor/tests/bridget.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/refactor/tests/bridget.py b/refactor/tests/bridget.py
index 9ec499f..71d210a 100644
--- a/refactor/tests/bridget.py
+++ b/refactor/tests/bridget.py
@@ -52,7 +52,7 @@ DataDirectory %s
         os.mkdir(datadir)
         return (randomname, datadir)
 
-    def connect(self, bridge, timeout):
+    def connect(self, bridge, timeout=None):
         if not timeout:
             timeout = self.timeout
         torrc, tordir = self.writetorrc(bridge)



More information about the tor-commits mailing list