Skip to content
Snippets Groups Projects
Commit 1a3c622b authored by Chris Dodge's avatar Chris Dodge
Browse files

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

parent cf7d7bd2
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment