Fix dangling whitespace

This commit is contained in:
Antoine Pitrou 2011-12-06 22:34:36 +01:00
parent 38d9643d5e
commit 4ce6aa4ba7
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ class HTTPResponse(io.RawIOBase):
break
except ValueError:
raise IncompleteRead(bytes(b[0:total_bytes]))
if len(mvb) < chunk_left:
n = self._safe_readinto(mvb)
self.chunk_left = chunk_left - n