Merge pull request #1875 from bagerard/dax_py3

CLONE - return instead of raising StopIteration
This commit is contained in:
erdenezul 2018-09-05 09:42:07 +08:00 committed by GitHub
commit 00363303b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ class QuerySet(BaseQuerySet):
yield self._result_cache[pos]
pos += 1
# Raise StopIteration if we already established there were no more
# return if we already established there were no more
# docs in the db cursor.
if not self._has_more:
return