From bf9e966228c6faa440e1c9b5fa8c41d0be8a721b Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Tue, 17 Jun 2008 21:39:46 +0000 Subject: [PATCH] Return the module at the end of its init function. "import _msi" used to raise a SystemError. --- PC/_msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PC/_msi.c b/PC/_msi.c index ec6c203ad7..a55aeca454 100644 --- a/PC/_msi.c +++ b/PC/_msi.c @@ -1065,5 +1065,5 @@ PyInit__msi(void) if (!MSIError) return NULL; PyModule_AddObject(m, "MSIError", MSIError); - return NULL; + return m; } -- 2.40.0