From: Tim Peters Date: Sun, 8 Aug 2004 01:05:14 +0000 (+0000) Subject: Whitespace normalization. X-Git-Tag: v2.4a3~333 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ca3f8551a3b3aede874fa926d82f1dd9fd41754;p=thirdparty%2FPython%2Fcpython.git Whitespace normalization. --- diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py index fea68564ef27..fc6fdf83d7d7 100644 --- a/Lib/test/test_compiler.py +++ b/Lib/test/test_compiler.py @@ -29,6 +29,3 @@ def test_main(): if __name__ == "__main__": test_main() - - - diff --git a/Lib/urllib2.py b/Lib/urllib2.py index 9ec8b9b4967e..d93cba62d8ee 100644 --- a/Lib/urllib2.py +++ b/Lib/urllib2.py @@ -1003,13 +1003,13 @@ class AbstractHTTPHandler(BaseHandler): # for Windows. That adapter calls recv(), so delegate recv() # to read(). This weird wrapping allows the returned object to # have readline() and readlines() methods. - + # XXX It might be better to extract the read buffering code # out of socket._fileobject() and into a base class. - + r.recv = r.read fp = socket._fileobject(r) - + resp = addinfourl(fp, r.msg, req.get_full_url()) resp.code = r.status resp.msg = r.reason