diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-11 11:29:31 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-11 11:29:31 (GMT) |
commit | 6438e1d280167a9dcf0eb82bb7b7aff11b082a59 (patch) | |
tree | 2ee199574e2c5277496c8ea5cd7723d23c369bdf /Mac/Python | |
parent | cf0319326a751e4f0e45ac1122d85235bb187b8b (diff) | |
download | cpython-6438e1d280167a9dcf0eb82bb7b7aff11b082a59.zip cpython-6438e1d280167a9dcf0eb82bb7b7aff11b082a59.tar.gz cpython-6438e1d280167a9dcf0eb82bb7b7aff11b082a59.tar.bz2 |
Failing to import macfsn is not a fatal error.
Diffstat (limited to 'Mac/Python')
-rw-r--r-- | Mac/Python/macmain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 39f6222..a14e3a8 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -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(); } } } |