Undo stupid change to while loop
authorOri Livneh <ori.livneh@gmail.com>
Thu, 22 Dec 2011 22:51:22 +0000 (17:51 -0500)
committerOri Livneh <ori.livneh@gmail.com>
Thu, 22 Dec 2011 22:51:22 +0000 (17:51 -0500)
requests/models.py

index f9a9626b37567afc32467c09f70c2cd2ad7319a9..09ea87d975c691d4d986d1b37ae8659e063f5cbf 100644 (file)
@@ -599,7 +599,7 @@ class Response(object):
         def generate():
             chunk = []
 
-            while True:
+            while 1:
                 c = self.raw.read(1)
                 if not c:
                     break