summaryrefslogtreecommitdiff
path: root/buildscripts
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 00:33:42 -0400
commit630944421eebbbdbde600b6294e28ec992fc3fba (patch)
treea7b2bfcf1fc1c98a5adf7f1552082cdd85cb2041 /buildscripts
parentab47b0b217ab40971a928bbe3d98bd315bbba716 (diff)
downloadmongo-630944421eebbbdbde600b6294e28ec992fc3fba.tar.gz
SERVER-13712 fix fedora8 builders (python 2.5.1)
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index f173402914b..cb40336c358 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -679,7 +679,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