summaryrefslogtreecommitdiff
path: root/packages/python/python-2.5.2/06-fix-urllib-exception.patch
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2008-10-21 12:03:09 +0200
committerStefan Schmidt <stefan@datenfreihafen.org>2008-10-21 12:03:09 +0200
commitd05dca7b0d286e1df13824b99cd5f262ade439e2 (patch)
tree7c7f247f1a88c405063d1d7108db11d181c3dbb1 /packages/python/python-2.5.2/06-fix-urllib-exception.patch
parent313753ac3e740c8ff54f0b0ddb2acb659033fe85 (diff)
parent96198fd96bd2ddddab9708f3c6c3f527253130d8 (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):