projects
/
twitter-api-cdsw
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reverted the encoding fix that tommy made in lieu of a different crazy hack
[twitter-api-cdsw]
/
tweepy
/
streaming.py
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index faf42eacfa3724e73d2c1cbead877e53dba00deb..9b246bda820c5f2e5b31abcd3bf8b6570a7b2f93 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-268,10
+268,10
@@
class Stream(object):
sleep(self.snooze_time)
self.snooze_time = min(self.snooze_time + self.snooze_time_step,
self.snooze_time_cap)
sleep(self.snooze_time)
self.snooze_time = min(self.snooze_time + self.snooze_time_step,
self.snooze_time_cap)
-
#
except Exception as exc:
-
#
exception = exc
-
#
# any other exception is fatal, so kill loop
-
#
break
+ except Exception as exc:
+ exception = exc
+ # any other exception is fatal, so kill loop
+ break
# cleanup
self.running = False
# cleanup
self.running = False
Benjamin Mako Hill
||
Want to submit a patch?