From 47ac56be82c72f83caff34ce4ac8f8e71bf8065a Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Thu, 10 Oct 2002 17:58:00 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_4_7_0'. --- lang/python24/files/patch-Lib:urllib.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 lang/python24/files/patch-Lib:urllib.py (limited to 'lang/python24/files/patch-Lib:urllib.py') diff --git a/lang/python24/files/patch-Lib:urllib.py b/lang/python24/files/patch-Lib:urllib.py deleted file mode 100644 index 63830a9475c6..000000000000 --- a/lang/python24/files/patch-Lib:urllib.py +++ /dev/null @@ -1,14 +0,0 @@ ---- Lib/urllib.py.orig Wed Apr 10 08:19:21 2002 -+++ Lib/urllib.py Wed Apr 10 08:25:58 2002 -@@ -409,7 +409,10 @@ - import mimetypes, mimetools, rfc822, StringIO - host, file = splithost(url) - localname = url2pathname(file) -- stats = os.stat(localname) -+ try: -+ stats = os.stat(localname) -+ except OSError, e: -+ raise IOError(e.errno, e.strerror, e.filename) - size = stats[stat.ST_SIZE] - modified = rfc822.formatdate(stats[stat.ST_MTIME]) - mtype = mimetypes.guess_type(url)[0] -- cgit v1.2.3