summaryrefslogtreecommitdiffstats
path: root/Modules/zipimport.c
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2007-08-16 14:35:24 (GMT)
committerSkip Montanaro <skip@pobox.com>2007-08-16 14:35:24 (GMT)
commit7a98be2efbdc44a6271e3bf6117a1e6c77828414 (patch)
tree64b6306494f992605ef5bd854dfc9e4922f8b967 /Modules/zipimport.c
parentc5aba174477a4bdbda31d859ce407c6ee7cef293 (diff)
downloadcpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.zip
cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.gz
cpython-7a98be2efbdc44a6271e3bf6117a1e6c77828414.tar.bz2
Remove RISCOS support
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r--Modules/zipimport.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index fc93011..42cb9d0 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -92,7 +92,6 @@ zipimporter_init(ZipImporter *self, PyObject *args, PyObject *kwds)
path = NULL;
prefix = NULL;
for (;;) {
-#ifndef RISCOS
struct stat statbuf;
int rv;
@@ -104,15 +103,6 @@ zipimporter_init(ZipImporter *self, PyObject *args, PyObject *kwds)
path = buf;
break;
}
-#else
- if (object_exists(buf)) {
- /* it exists */
- if (isfile(buf))
- /* it's a file */
- path = buf;
- break;
- }
-#endif
/* back up one path element */
p = strrchr(buf, SEP);
if (prefix != NULL)