diff options
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r-- | Modules/zipimport.c | 10 |
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) |