Commit 70b4044e authored by Evamvid Sharma's avatar Evamvid Sharma
Browse files

Merge pull request #1 from evamvid/evamvid-patch-1

Changed raise to raise exception
parents fe60c1d8 f5d2c1f1
...@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment