diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-08-10 04:35:27 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-08-10 04:35:27 +0000 |
| commit | 306a0595289a1660e82e229cd0db19e1ff4ef59d (patch) | |
| tree | 702199d3b5e34c9ba151483313d8c26565451c75 /lang/python25/files/patch-Lib:urllib.py | |
| parent | 280725774faa4e3d91ff599cca3a1466c77d300e (diff) | |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_6_1'.release/4.6.1
Diffstat (limited to 'lang/python25/files/patch-Lib:urllib.py')
| -rw-r--r-- | lang/python25/files/patch-Lib:urllib.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lang/python25/files/patch-Lib:urllib.py b/lang/python25/files/patch-Lib:urllib.py deleted file mode 100644 index 63830a9475c6..000000000000 --- a/lang/python25/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] |
