summaryrefslogtreecommitdiff
path: root/buildscripts/smoke.py
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-24 00:00:17 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-24 00:00:17 -0500
commit6a4d7740f6ab1d81937d833c7d9d1f66f8992602 (patch)
tree2697946ac40d9686aeb3cd32b0c6cff480f9164d /buildscripts/smoke.py
parent6c269ae42ae89ea2f2080a8b21105196f86e3a77 (diff)
downloadmongo-6a4d7740f6ab1d81937d833c7d9d1f66f8992602.tar.gz
fix python smoke
Diffstat (limited to 'buildscripts/smoke.py')
-rwxr-xr-xbuildscripts/smoke.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index 30c6c548127..01173a6cf2c 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -331,8 +331,8 @@ def runTest(test):
'TestData.noJournal = ' + ternary( no_journal ) + ";" + \
'TestData.noJournalPrealloc = ' + ternary( no_preallocj ) + ";" + \
'TestData.auth = ' + ternary( auth ) + ";" + \
- 'TestData.keyFile = ' + ternary( keyFile , '"' + keyFile + '"' , 'null' ) + ";" + \
- 'TestData.keyFileData = ' + ( keyFile , '"' + keyFileData + '"' , 'null' ) + ";"
+ 'TestData.keyFile = ' + ternary( keyFile , '"' + str(keyFile) + '"' , 'null' ) + ";" + \
+ 'TestData.keyFileData = ' + ( keyFile , '"' + str(keyFileData) + '"' , 'null' ) + ";"
if auth and usedb:
evalString += 'db.getSiblingDB("admin").addUser("admin","password");'
evalString += 'jsTest.authenticate(db.getMongo());'