projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe60c1d
)
Changed raise to raise exception
author
Evamvid Sharma
<evamvid@gmail.com>
Tue, 9 Jun 2015 21:58:50 +0000
(17:58 -0400)
committer
Evamvid Sharma
<evamvid@gmail.com>
Tue, 9 Jun 2015 21:58:50 +0000
(17:58 -0400)
Line 286.
This prevents the "RuntimeError: No active exception to reraise" error.
http://stackoverflow.com/a/
28871066
Didn't look like anyone had changed the line.
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 6ce3e5c827b729a81eeed559c02db1810d685768..6f591cf54a2df66d25f59dccd953381ca9ca57d4 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-283,7
+283,7
@@
class Stream(object):
if exception:
# call a handler first so that the exception can be logged.
self.listener.on_exception(exception)
- raise
+ raise
exception
def _data(self, data):
if self.listener.on_data(data) is False: