Skip to content

Commit 5367dc9

Browse files
committed
fix MongoEngine#153 and bump version
1 parent 3bb7b96 commit 5367dc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flask_mongoengine/operation_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def _remove(collection_self, spec_or_id, safe=None, **kwargs):
138138
def _cursor_refresh(cursor_self):
139139
# Look up __ private instance variables
140140
def privar(name):
141-
return getattr(cursor_self, '_Cursor__{0}'.format(name))
141+
return getattr(cursor_self, '_Cursor__{0}'.format(name), None)
142142

143143
if privar('id') is not None:
144144
# getMore not query - move on

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
setup(
2626
name='quokka-flask-mongoengine',
27-
version='0.7.3',
27+
version='0.7.4',
2828
url='https://github.com/mongoengine/flask-mongoengine',
2929
license='BSD',
3030
author='Ross Lawley',

0 commit comments

Comments
 (0)