diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-10-10 17:58:00 +0000 | 
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-10-10 17:58:00 +0000 | 
| commit | 47ac56be82c72f83caff34ce4ac8f8e71bf8065a (patch) | |
| tree | 9b024a0a3e5f7e9ea25f8a10c704c6fa17bdc4f1 /lang/python26/files/patch-Lib:urllib.py | |
| parent | a7b4667654401c6cff9093ae6ebd74c74d6776ac (diff) | |
Notes
Diffstat (limited to 'lang/python26/files/patch-Lib:urllib.py')
| -rw-r--r-- | lang/python26/files/patch-Lib:urllib.py | 14 | 
1 files changed, 0 insertions, 14 deletions
diff --git a/lang/python26/files/patch-Lib:urllib.py b/lang/python26/files/patch-Lib:urllib.py deleted file mode 100644 index 63830a9475c6..000000000000 --- a/lang/python26/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]  | 
