actually the query parameter is '_id.revision' not just 'revision'

This commit is contained in:
Chris Dodge
2013-04-11 22:32:35 -04:00
parent cf7d7bd2d9
commit 1a3c622bb6

View File

@@ -205,7 +205,7 @@ def location_to_query(location, wildcard=True):
for key, value in query.items():
# don't allow wildcards on revision, since public is set as None, so
# its ambiguous between None as a real value versus None=wildcard
if value is None and key != 'revision':
if value is None and key != '_id.revision':
del query[key]
return query