summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-17 21:39:46 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-17 21:39:46 (GMT)
commitbf9e966228c6faa440e1c9b5fa8c41d0be8a721b (patch)
tree030b7bea1e92aee8b286e02bd7402ce48694b2fa
parent2ba198d2fbd8d4dd33d2c40af012d622eb03c18f (diff)
downloadcpython-bf9e966228c6faa440e1c9b5fa8c41d0be8a721b.zip
cpython-bf9e966228c6faa440e1c9b5fa8c41d0be8a721b.tar.gz
cpython-bf9e966228c6faa440e1c9b5fa8c41d0be8a721b.tar.bz2
Return the module at the end of its init function.
"import _msi" used to raise a SystemError.
-rw-r--r--PC/_msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_msi.c b/PC/_msi.c
index ec6c203..a55aeca 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;
}