From: Jack Jansen Date: Tue, 11 Sep 2001 11:29:31 +0000 (+0000) Subject: Failing to import macfsn is not a fatal error. X-Git-Tag: v2.2.1c1~1863 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6438e1d280167a9dcf0eb82bb7b7aff11b082a59;p=python Failing to import macfsn is not a fatal error. --- diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 39f62221d9..a14e3a893b 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(); } } }