Return the module at the end of its init function.

"import _msi" used to raise a SystemError.
This commit is contained in:
Amaury Forgeot d'Arc 2008-06-17 21:39:46 +00:00
parent 2ba198d2fb
commit bf9e966228
1 changed files with 1 additions and 1 deletions

View File

@ -1065,5 +1065,5 @@ PyInit__msi(void)
if (!MSIError)
return NULL;
PyModule_AddObject(m, "MSIError", MSIError);
return NULL;
return m;
}