]> granicus.if.org Git - python/commitdiff
Failing to import macfsn is not a fatal error.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 11 Sep 2001 11:29:31 +0000 (11:29 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 11 Sep 2001 11:29:31 +0000 (11:29 +0000)
Mac/Python/macmain.c

index 39f62221d942d4d936dc83413eba7d41e230b0c5..a14e3a893b833cd94ed244b39220ad3f0d030741 100644 (file)
@@ -384,7 +384,7 @@ run_inspect(void)
                sts = PyRun_AnyFile(stdin, "<stdin>") != 0;
        return sts;
 }
-
+       
 /*
 ** Import the macfsn module, which will override the Standard File
 ** calls in the macfs builtin module by Navigation Services versions,
@@ -405,6 +405,7 @@ PyMac_InstallNavServicesForSF(void)
                        else {
                                PySys_WriteStderr("use -v for traceback\n");
                        }
+                       PyErr_Clear();
                }
        }
 }