diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2008-10-18 17:52:12 +0200 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2008-10-19 17:48:38 +0200 |
commit | ab89422c10edc0f99912e5c9ab51cbd363171d58 (patch) | |
tree | 153fa21657fabb8b4807786d8b589bd29c49eeac /packages/python/python-2.5.2/06-fix-urllib-exception.patch | |
parent | 33520096dcbe4dc405a372aa345e3527e5a73a7a (diff) |
python 2.5.2: add some patches from pymaemo, remove old-and-deprecated package
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.patch | 13 |
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): |