projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2cc03
)
Fix CursorIterator.next() for Python 3
author
Yuri Prezument
<y@yprez.com>
Wed, 19 Nov 2014 10:55:32 +0000
(12:55 +0200)
committer
Yuri Prezument
<y@yprez.com>
Wed, 19 Nov 2014 10:55:32 +0000
(12:55 +0200)
It was calling next, but returning None
tweepy/cursor.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/cursor.py
b/tweepy/cursor.py
index 274a4309593c55a63f12c038f71096ba5250f228..902fc22970b3b52a0feddee7ae80e371002bfeba 100644
(file)
--- a/
tweepy/cursor.py
+++ b/
tweepy/cursor.py
@@
-46,7
+46,7
@@
class BaseIterator(object):
self.limit = 0
def __next__(self):
- self.next()
+
return
self.next()
def next(self):
raise NotImplementedError