aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python31/files/patch-Lib:urllib.py
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-10-17 19:14:17 +0800
committerperky <perky@FreeBSD.org>2002-10-17 19:14:17 +0800
commit45320f7f2da5a94f92884c95d5c04253fc548d5a (patch)
tree21b0b41bfd447acce9ff9e43d9335afce71ac14c /lang/python31/files/patch-Lib:urllib.py
parent7478600944c753e2d9864c65982c8bb59477f519 (diff)
downloadfreebsd-ports-gnome-45320f7f2da5a94f92884c95d5c04253fc548d5a.tar.gz
freebsd-ports-gnome-45320f7f2da5a94f92884c95d5c04253fc548d5a.tar.zst
freebsd-ports-gnome-45320f7f2da5a94f92884c95d5c04253fc548d5a.zip
Upgrade to Python-2.2.2.
Approved by: tg
Diffstat (limited to 'lang/python31/files/patch-Lib:urllib.py')
-rw-r--r--lang/python31/files/patch-Lib:urllib.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/lang/python31/files/patch-Lib:urllib.py b/lang/python31/files/patch-Lib:urllib.py
deleted file mode 100644
index 63830a9475c6..000000000000
--- a/lang/python31/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]