Skip to content
Snippets Groups Projects
Commit 65c71cd2 authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[*] Fixed typo in checking logging level during plugin initialization. Added a...

[*] Fixed typo in checking logging level during plugin initialization. Added a call to the PyType_Ready function, which adds inherited slots from the base class for the CryptoCert object.
parent 72321f76
No related branches found
No related tags found
1 merge request!11Bugs 3310 - Fixed typo in checking logging level during plugin initialization. Added a call to the PyType_Ready function, which adds inherited slots from the base class for the CryptoCert object.
......@@ -328,7 +328,8 @@ PyObject *python_cellframe_init(PyObject *self, PyObject *args){
PyMODINIT_FUNC PyInit_libCellFrame(void){
if (PyType_Ready(&DapCoreObjectType) < 0 || PyType_Ready(&dapCrypto_dapCryptoType) < 0 ||
PyType_Ready(&ServerCore_ServerCoreType) < 0 || PyType_Ready(&dapEvents_dapEventsType) < 0 ||
PyType_Ready(&dapCrypto_dapCryptoCertType) < 0 ||
PyType_Ready(&ServerCore_ServerCoreType) < 0 || PyType_Ready(&dapEvents_dapEventsType) < 0 ||
PyType_Ready(&dapEventsSocket_dapEventsSocketType) < 0 ||
PyType_Ready(&CryptoKeyTypeObjecy_CryptoKeyTypeObjecyType) < 0 ||
PyType_Ready(&CryptoDataTypeObjecy_CryptoDataTypeObjecyType) < 0 ||
......@@ -409,7 +410,7 @@ PyMODINIT_FUNC PyInit_libCellFrame(void){
PyModule_AddObject(module, "ChainType", (PyObject*)&dapChainTypeObject_dapChainTypeType);
PyModule_AddObject(module, "ChainAtomIter", (PyObject*)&dapChainAtomPtr_dapChainAtomPtrType);
PyModule_AddObject(module, "ChainCell", (PyObject*)&DapChainCell_DapChainCellObjectType);
//// PyModule_AddObject(module, "ChainCommon", (PyObject*)&ChainCommonObject_ChainCommonType);
// PyModule_AddObject(module, "ChainCommon", (PyObject*)&ChainCommonObject_ChainCommonType);
// PyModule_AddObject(module, "ChainID", (PyObject*)&DapChainIDObject_DapChainIDType);
PyModule_AddObject(module, "ChainCellID", (PyObject*)&DapChainCellIDObject_DapChainCellIDType);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment