[Python-3000-checkins] r64352 - python/branches/py3k/PC/_msi.c

amaury.forgeotdarc python-3000-checkins at python.org
Tue Jun 17 23:39:47 CEST 2008


Author: amaury.forgeotdarc
Date: Tue Jun 17 23:39:46 2008
New Revision: 64352

Log:
Return the module at the end of its init function.
"import _msi" used to raise a SystemError.


Modified:
   python/branches/py3k/PC/_msi.c

Modified: python/branches/py3k/PC/_msi.c
==============================================================================
--- python/branches/py3k/PC/_msi.c	(original)
+++ python/branches/py3k/PC/_msi.c	Tue Jun 17 23:39:46 2008
@@ -1065,5 +1065,5 @@
     if (!MSIError)
 	return NULL;
     PyModule_AddObject(m, "MSIError", MSIError);
-    return NULL;
+    return m;
 }


More information about the Python-3000-checkins mailing list