mirror of
https://github.com/python/cpython.git
synced 2024-11-26 19:34:19 +08:00
Failing to import macfsn is not a fatal error.
This commit is contained in:
parent
cf0319326a
commit
6438e1d280
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user