Commit c5c127ed authored by Yuri Prezument's avatar Yuri Prezument
Browse files

Fix CursorIterator.next() for Python 3

It was calling next, but returning None
parent 2c2cc03b
......@@ -46,7 +46,7 @@ class BaseIterator(object):
self.limit = 0
def __next__(self):
self.next()
return self.next()
def next(self):
raise NotImplementedError
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment