From: inactivist Date: Fri, 21 Sep 2012 15:05:41 +0000 (-0700) Subject: Fixes for tweepy/tweepy issue #208 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5500c3a504ce26001f6bd367f80524b0d0fa226d;p=tweepy.git Fixes for tweepy/tweepy issue #208 (https://github.com/tweepy/tweepy/issues/208) merged from origin/http_dumper branch... --- diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 3e6910f..db5a1f7 100644 --- 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):