[tor-commits] [ooni-probe/master] Fix typo in getTimeout

art at torproject.org art at torproject.org
Fri Dec 21 14:14:48 UTC 2012


commit 6c7754ce87cb8dae10a534317bd038fba435962e
Author: Arturo Filastò <art at fuffa.org>
Date:   Fri Dec 21 15:14:33 2012 +0100

    Fix typo in getTimeout
---
 ooni/runner.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ooni/runner.py b/ooni/runner.py
index a0710cd..d8b6c4e 100644
--- a/ooni/runner.py
+++ b/ooni/runner.py
@@ -219,7 +219,7 @@ def getTestTimeout(test_instance, test_method):
             return float(timeout)
         except (ValueError, TypeError):
             log.warn("'timeout' attribute must be a number!")
-            return float(default_timeout)
+            return float(default)
 
 def runTestCasesWithInput(test_cases, test_input, yaml_reporter,
                           oonib_reporter=None):



More information about the tor-commits mailing list