From 9bfd2bf5ede8e5d58775180d6867d81ddcdd3594 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 1 Sep 2000 09:01:32 +0000 Subject: Do the absolute minimal amount of modifications to eradicate Py_FatalError() from module initialization functions. The importing mechanism already checks for PyErr_Occurred() after module importation and it Does The Right Thing. Unfortunately, the following either were not compiled or tested by the regression suite, due to issues with my development platform: almodule.c cdmodule.c mpzmodule.c puremodule.c timingmodule.c --- Modules/syslogmodule.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Modules/syslogmodule.c') diff --git a/Modules/syslogmodule.c b/Modules/syslogmodule.c index 6452620d36..eda5490c16 100644 --- a/Modules/syslogmodule.c +++ b/Modules/syslogmodule.c @@ -232,8 +232,4 @@ initsyslog(void) ins(d, "LOG_CRON", LOG_CRON); ins(d, "LOG_UUCP", LOG_UUCP); ins(d, "LOG_NEWS", LOG_NEWS); - - /* Check for errors */ - if (PyErr_Occurred()) - Py_FatalError("can't initialize module syslog"); } -- cgit v1.2.1