Skip to content

Commit

Permalink
Return the module at the end of its init function.
Browse files Browse the repository at this point in the history
"import _msi" used to raise a SystemError.
  • Loading branch information
amauryfa committed Jun 17, 2008
1 parent 2ba198d commit bf9e966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC/_msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1065,5 +1065,5 @@ PyInit__msi(void)
if (!MSIError)
return NULL;
PyModule_AddObject(m, "MSIError", MSIError);
return NULL;
return m;
}

0 comments on commit bf9e966

Please sign in to comment.