summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-08 01:05:14 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-08-08 01:05:14 (GMT)
commit9ca3f8551a3b3aede874fa926d82f1dd9fd41754 (patch)
treef85f6ef2eef5c8b4ce25540c2d877b98f389329f
parentec8c5a931136b61231b295f2aded8dc04035e9b7 (diff)
downloadcpython-9ca3f8551a3b3aede874fa926d82f1dd9fd41754.zip
cpython-9ca3f8551a3b3aede874fa926d82f1dd9fd41754.tar.gz
cpython-9ca3f8551a3b3aede874fa926d82f1dd9fd41754.tar.bz2
Whitespace normalization.
-rw-r--r--Lib/test/test_compiler.py3
-rw-r--r--Lib/urllib2.py6
2 files changed, 3 insertions, 6 deletions
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py
index fea6856..fc6fdf8 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 9ec8b9b..d93cba6 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