From: Ori Livneh Date: Thu, 22 Dec 2011 22:51:22 +0000 (-0500) Subject: Undo stupid change to while loop X-Git-Tag: v0.8.7~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7223f86a976410bb904fb2e983440c94175aa75;p=services%2Fpython-requests.git Undo stupid change to while loop --- diff --git a/requests/models.py b/requests/models.py index f9a9626..09ea87d 100644 --- 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