Whitespace normalization.

This commit is contained in:
Tim Peters 2002-11-09 05:08:07 +00:00
parent b0ead4ea4a
commit 230a60c6ec
7 changed files with 27 additions and 28 deletions

View file

@ -371,7 +371,7 @@ class HTTPResponse:
if self.chunked:
return self._read_chunked(amt)
if amt is None:
# unbounded read
if self.will_close:
@ -441,7 +441,7 @@ class HTTPResponse:
self.close()
return value
def _safe_read(self, amt):
"""Read the number of bytes requested, compensating for partial reads.