reverted back to the StopIteration in queryset.next that one didnt have to be changed (test stalled)
This commit is contained in:
parent
f29b93c762
commit
cf9df548ca
@ -1481,7 +1481,7 @@ class BaseQuerySet(object):
|
||||
"""Wrap the result in a :class:`~mongoengine.Document` object.
|
||||
"""
|
||||
if self._limit == 0 or self._none:
|
||||
return
|
||||
raise StopIteration
|
||||
|
||||
raw_doc = self._cursor.next()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user