Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
70b4044e
Commit
70b4044e
authored
Jun 09, 2015
by
Evamvid Sharma
Browse files
Merge pull request #1 from evamvid/evamvid-patch-1
Changed raise to raise exception
parents
fe60c1d8
f5d2c1f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/streaming.py
View file @
70b4044e
...
@@ -283,7 +283,7 @@ class Stream(object):
...
@@ -283,7 +283,7 @@ class Stream(object):
if
exception
:
if
exception
:
# call a handler first so that the exception can be logged.
# call a handler first so that the exception can be logged.
self
.
listener
.
on_exception
(
exception
)
self
.
listener
.
on_exception
(
exception
)
raise
raise
exception
def
_data
(
self
,
data
):
def
_data
(
self
,
data
):
if
self
.
listener
.
on_data
(
data
)
is
False
:
if
self
.
listener
.
on_data
(
data
)
is
False
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment