From 6438e1d280167a9dcf0eb82bb7b7aff11b082a59 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 11 Sep 2001 11:29:31 +0000 Subject: [PATCH] Failing to import macfsn is not a fatal error. --- Mac/Python/macmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 39f62221d94..a14e3a893b8 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -384,7 +384,7 @@ run_inspect(void) sts = PyRun_AnyFile(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(); } } }