summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kangas <matt.kangas@mongodb.com>2014-05-08 00:33:42 -0400
committerMatt Kangas <matt.kangas@mongodb.com>2014-05-08 09:05:19 -0400
commit2ff4d735d3b9cc430c4a3af43afe4264a36bed3f (patch)
tree19dc8da45c2d307c24fab8adbbb3750c4e32766f
parent71534242a3dbf802bfb3728c1d0f74848509cca6 (diff)
downloadmongo-2ff4d735d3b9cc430c4a3af43afe4264a36bed3f.tar.gz
SERVER-13712 fix fedora8 builders (python 2.5.1)
(cherry picked from commit 630944421eebbbdbde600b6294e28ec992fc3fba)
-rwxr-xr-xbuildscripts/smoke.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index c54cb8618ed..7d5a825a80b 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -677,7 +677,8 @@ def run_tests(tests):
if small_oplog or small_oplog_rs:
master.wait_for_repl()
- for tests_run, test in enumerate(tests, 1):
+ for tests_run, test in enumerate(tests):
+ tests_run += 1 # enumerate from 1, python 2.5 compatible
test_result = { "start": time.time() }
(test_path, use_db) = test