projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d275bc
)
Update tweepy/streaming.py
author
Steve Jones
<steve.r.jones@gmail.com>
Tue, 17 Apr 2012 01:57:39 +0000
(22:57 -0300)
committer
Steve Jones
<steve.r.jones@gmail.com>
Tue, 17 Apr 2012 01:57:39 +0000
(22:57 -0300)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index e9d6d669a85699bed347c64d54be08d3fa457172..9ee74cd73b298b9fbf040e850f86dc7fdc36186f 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-153,8
+153,10
@@
class Stream(object):
delimited_string = c
# read rest of delimiter length..
+ d = ''
while d != '\n' and self.running and not resp.isclosed():
- delimited_string += resp.read(1)
+ d = resp.read(1)
+ delimited_string += d
# read the next twitter status object
if delimited_string.isdigit():