summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Kleinman <samk@10gen.com>2015-04-28 11:48:45 -0400
committerSam Kleinman <samk@10gen.com>2015-04-28 13:06:50 -0400
commit73d9eb5a4407a4b7724cadb2b5dd778a97a4d207 (patch)
tree4f0b9d0dd30c556c8a9fff10e6987b752a9d6849
parent913050a185855aaccd725d95f04eaf6dd414525f (diff)
downloadmongo-73d9eb5a4407a4b7724cadb2b5dd778a97a4d207.tar.gz
SERVER-18229: fix smoke.py interaction with pymongo
-rwxr-xr-xbuildscripts/smoke.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index ebde0d14aed..619130f1923 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -273,7 +273,7 @@ class mongod(NullMongod):
synced = False
while not synced:
synced = True
- for source in local.sources.find(fields=["syncedTo"]):
+ for source in local.sources.find({}, ["syncedTo"]):
synced = synced and "syncedTo" in source and source["syncedTo"]
def _start(self, argv):