projects
/
platform
/
upstream
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4656c9b
)
removed deprecated while 1:
author
Riyad Parvez
<social.riyad@gmail.com>
Sat, 5 Oct 2013 03:59:47 +0000
(09:59 +0600)
committer
Riyad Parvez
<social.riyad@gmail.com>
Sat, 5 Oct 2013 03:59:47 +0000
(09:59 +0600)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
8fd9735
..
46451c5
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-575,7
+575,7
@@
class Response(object):
raise ChunkedEncodingError(e)
except AttributeError:
# Standard file-like object.
- while
1
:
+ while
True
:
chunk = self.raw.read(chunk_size)
if not chunk:
break