Permalink
Browse files

Update __init__.py

add sort kwarg to find
  • Loading branch information...
1 parent 3f5905d commit 98f4d0249c0b07f5b53e42c58f750376e7f34f9f @japerk committed Apr 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mongomock/__init__.py
View
@@ -181,7 +181,7 @@ def update(self, spec, document, upsert = False, manipulate = False,
document.update(spec)
self.insert(document)
- def find(self, spec = None, fields = None, filter = None):
+ def find(self, spec = None, fields = None, filter = None, sort = None):
if filter is not None:
_print_deprecation_warning('filter', 'spec')
if spec is None:

0 comments on commit 98f4d02

Please sign in to comment.