0da6a24471
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
|
||
---|---|---|
api-ref/source | ||
devstack | ||
doc | ||
fm-api | ||
fm-common | ||
fm-doc | ||
fm-mgr | ||
fm-rest-api | ||
python-fmclient | ||
releasenotes | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_stable_docker_images.inc | ||
centos_stable_wheels.inc | ||
pylint.rc | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |
README.rst
fault
StarlingX Fault Management