![]() According with python 3 migration rules:
PyMODINIT_FUNC init<yourmodulename>(void)
has changed to below in Python 3:
PyMODINIT_FUNC PyInit_<yourmodulename>(void)
otherwise there is below issue:
CRITICAL sysinv [-] Unhandled error: ImportError: dynamic module does not define module export function (PyInit_fm_core)
ERROR sysinv Traceback (most recent call last):
ERROR sysinv File "/usr/bin/sysinv-puppet", line 10, in <module>
Story: 2008454
Task: 41440
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
Change-Id: Id51da7f328b41ec389cf2e073db7ff6617398339
(cherry picked from commit
|
||
---|---|---|
.. | ||
centos | ||
debian | ||
opensuse | ||
sources | ||
.gitignore | ||
PKG-INFO |