[Python-checkins] r86749 - python/branches/py3k-urllib/Lib/http/client.py
senthil.kumaran
python-checkins at python.org
Thu Nov 25 09:44:12 CET 2010
Author: senthil.kumaran
Date: Thu Nov 25 09:44:12 2010
New Revision: 86749
Log:
No need to set amt to None.
Modified:
python/branches/py3k-urllib/Lib/http/client.py
Modified: python/branches/py3k-urllib/Lib/http/client.py
==============================================================================
--- python/branches/py3k-urllib/Lib/http/client.py (original)
+++ python/branches/py3k-urllib/Lib/http/client.py Thu Nov 25 09:44:12 2010
@@ -495,7 +495,6 @@
if self.getheader('Content-Encoding') == 'gzip':
self.fp = gzip.GzipFile(fileobj=self.fp, mode='rb')
self.length = None
- amt=None
if self.chunked:
return self._read_chunked(amt)
More information about the Python-checkins
mailing list