From 72143e1b7cd9f097545d988aafb242476c6be547 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Thu, 17 Oct 2002 11:14:17 +0000 Subject: Upgrade to Python-2.2.2. Approved by: tg --- lang/python27/files/patch-Lib:urllib.py | 14 -------------- lang/python27/files/patch-configure | 10 ---------- 2 files changed, 24 deletions(-) delete mode 100644 lang/python27/files/patch-Lib:urllib.py delete mode 100644 lang/python27/files/patch-configure (limited to 'lang/python27/files') diff --git a/lang/python27/files/patch-Lib:urllib.py b/lang/python27/files/patch-Lib:urllib.py deleted file mode 100644 index 63830a9475c6..000000000000 --- a/lang/python27/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] diff --git a/lang/python27/files/patch-configure b/lang/python27/files/patch-configure deleted file mode 100644 index e40f4ac925e3..000000000000 --- a/lang/python27/files/patch-configure +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.orig Sun Jan 20 15:31:22 2002 -+++ configure Sun Jan 20 15:56:58 2002 -@@ -6980,6 +6980,7 @@ - #line 6981 "configure" - #include "confdefs.h" - #include -+#include - main() - { - FILE *f=fopen("conftestval", "w"); -- cgit v1.2.3