[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 6c7754ce87cb8dae10a534317bd038fba435962e
Author: Arturo Filastò <art@xxxxxxxxx>
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):

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits