projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80083c0
)
reword rate limit notify msg
author
Zeb Palmer
<zeb@zebpalmer.com>
Wed, 16 Jul 2014 04:40:08 +0000
(22:40 -0600)
committer
Zeb Palmer
<zeb@zebpalmer.com>
Wed, 16 Jul 2014 04:40:08 +0000
(22:40 -0600)
tweepy/binder.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/binder.py
b/tweepy/binder.py
index dcf0856b97bd15632edcb1140b80888ff2b083f3..3e0a62674237c060ccfee3c24e9b0c649184297a 100644
(file)
--- a/
tweepy/binder.py
+++ b/
tweepy/binder.py
@@
-140,7
+140,7
@@
def bind_api(**config):
sleep_time = self._reset_time - int(time.time())
if sleep_time > 0:
if self.wait_on_rate_limit_notify:
- print "
Max retries
reached. Sleeping for: " + str(sleep_time)
+ print "
Rate limit
reached. Sleeping for: " + str(sleep_time)
time.sleep(sleep_time + 5) # sleep for few extra sec
# Apply authentication