projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b2935
)
Update streaming.py
author
skrew
<skrew@rootmail.org>
Fri, 9 May 2014 00:20:02 +0000
(
02:20
+0200)
committer
skrew
<skrew@rootmail.org>
Fri, 9 May 2014 00:20:02 +0000
(
02:20
+0200)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 698e15a442e534711e29cfbf9832b582e551e22a..54cd7e025e12327df51fb3ff017bbf4d7da0b60f 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-153,7
+153,7
@@
class Stream(object):
if self.listener.on_error(resp.status_code) is False:
break
error_counter += 1
- if resp.status == 420:
+ if resp.status
_code
== 420:
self.retry_time = max(self.retry_420_start, self.retry_time)
sleep(self.retry_time)
self.retry_time = min(self.retry_time * 2, self.retry_time_cap)