summaryrefslogtreecommitdiff
path: root/packages/python/python-2.5.2/06-fix-urllib-exception.patch
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2008-10-19 19:13:07 +0100
committerPhil Blundell <philb@gnu.org>2008-10-19 19:13:07 +0100
commit02735830de924c6ce96f28d5d37a714f9eece092 (patch)
tree4de742e08615447b4b1016257e97f4014b780d0e /packages/python/python-2.5.2/06-fix-urllib-exception.patch
parent16468ec4f6391337dc6fb55ea9edf8f015d7bc6f (diff)
parent44c937dc478236138cffe1e18a877a74f4a9f281 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/python/python-2.5.2/06-fix-urllib-exception.patch')
-rw-r--r--packages/python/python-2.5.2/06-fix-urllib-exception.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/python/python-2.5.2/06-fix-urllib-exception.patch b/packages/python/python-2.5.2/06-fix-urllib-exception.patch
new file mode 100644
index 0000000000..d096ee9402
--- /dev/null
+++ b/packages/python/python-2.5.2/06-fix-urllib-exception.patch
@@ -0,0 +1,13 @@
+Index: python/Lib/urllib.py
+===================================================================
+--- python.orig/Lib/urllib.py 2007-03-06 17:16:49.000000000 -0300
++++ python/Lib/urllib.py 2007-03-06 17:17:05.000000000 -0300
+@@ -358,7 +358,7 @@
+ """Default error handler: close the connection and raise IOError."""
+ void = fp.read()
+ fp.close()
+- raise IOError, ('http error', errcode, errmsg, headers)
++ raise IOError, ('http error', errcode, errmsg)
+
+ if hasattr(socket, "ssl"):
+ def open_https(self, url, data=None):