Do a dict.copy() so we don't overwrite the original.

This commit is contained in:
Tomeu Vizoso 2007-08-01 16:31:33 +02:00
parent c0276b5609
commit a197097164

View File

@ -200,6 +200,9 @@ def delete(object_id):
def find(query, sorting=None, limit=None, offset=None, reply_handler=None,
error_handler=None):
query = query.copy()
if sorting:
query['order_by'] = sorting
if limit: