projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b6c49
)
Fixes for tweepy/tweepy issue #208
author
inactivist
<inactivist@gmail.com>
Fri, 21 Sep 2012 15:05:41 +0000
(08:05 -0700)
committer
inactivist
<inactivist@gmail.com>
Fri, 21 Sep 2012 15:05:41 +0000
(08:05 -0700)
(https://github.com/tweepy/tweepy/issues/208)
merged from origin/http_dumper branch...
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 3e6910f8f706b61ad603fc0b8220c6df6c350675..db5a1f7bce79d6b23e33a46b8a99ecffc18f2372 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-135,9
+135,8
@@
class Stream(object):
raise
def _data(self, data):
- for d in [dt for dt in data.split('\n') if dt]:
- if self.listener.on_data(d) is False:
- self.running = False
+ if self.listener.on_data(d) is False:
+ self.running = False
def _read_loop(self, resp):