Kaydet (Commit) 6438e1d2 authored tarafından Jack Jansen's avatar Jack Jansen

Failing to import macfsn is not a fatal error.

üst cf031932
...@@ -384,7 +384,7 @@ run_inspect(void) ...@@ -384,7 +384,7 @@ run_inspect(void)
sts = PyRun_AnyFile(stdin, "<stdin>") != 0; sts = PyRun_AnyFile(stdin, "<stdin>") != 0;
return sts; return sts;
} }
/* /*
** Import the macfsn module, which will override the Standard File ** Import the macfsn module, which will override the Standard File
** calls in the macfs builtin module by Navigation Services versions, ** calls in the macfs builtin module by Navigation Services versions,
...@@ -405,6 +405,7 @@ PyMac_InstallNavServicesForSF(void) ...@@ -405,6 +405,7 @@ PyMac_InstallNavServicesForSF(void)
else { else {
PySys_WriteStderr("use -v for traceback\n"); PySys_WriteStderr("use -v for traceback\n");
} }
PyErr_Clear();
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment