removed deprecated while 1:

This commit is contained in:
Riyad Parvez
2013-10-05 09:59:47 +06:00
parent 4656c9b89b
commit 5c92c72e2c
+1 -1
View File
@@ -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