projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c0ff95
)
Undo stupid change to while loop
author
Ori Livneh
<ori.livneh@gmail.com>
Thu, 22 Dec 2011 22:51:22 +0000
(17:51 -0500)
committer
Ori Livneh
<ori.livneh@gmail.com>
Thu, 22 Dec 2011 22:51:22 +0000
(17:51 -0500)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index f9a9626b37567afc32467c09f70c2cd2ad7319a9..09ea87d975c691d4d986d1b37ae8659e063f5cbf 100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-599,7
+599,7
@@
class Response(object):
def generate():
chunk = []
- while
True
:
+ while
1
:
c = self.raw.read(1)
if not c:
break