summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macmain.c')
-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();
}
}
}