Fixing py3.3 tests

This commit is contained in:
Ross Lawley
2013-01-09 16:16:48 +00:00
parent a68529fba8
commit 72dd9daa23
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ def query(_doc_cls=None, _field_operation=False, **query):
"""
mongo_query = {}
merge_query = defaultdict(list)
for key, value in query.items():
for key, value in sorted(query.items()):
if key == "__raw__":
mongo_query.update(value)
continue