summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-11 11:29:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-09-11 11:29:31 (GMT)
commit6438e1d280167a9dcf0eb82bb7b7aff11b082a59 (patch)
tree2ee199574e2c5277496c8ea5cd7723d23c369bdf /Mac/Python
parentcf0319326a751e4f0e45ac1122d85235bb187b8b (diff)
downloadcpython-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.c3
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();
}
}
}