mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-08 02:17:27 +05:00
Revert previous commit as it causes regression
This commit is contained in:
parent
937cc3a449
commit
007a4cd246
@ -996,8 +996,9 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeCurveParametric
|
|||||||
PyObject* main_dict = PyModule_GetDict(main_mod);
|
PyObject* main_dict = PyModule_GetDict(main_mod);
|
||||||
|
|
||||||
PyObject* obj = PyRun_String(aPyScript.ToCString(), Py_file_input, main_dict, NULL);
|
PyObject* obj = PyRun_String(aPyScript.ToCString(), Py_file_input, main_dict, NULL);
|
||||||
|
printf("%s\n", aPyScript.ToCString());
|
||||||
|
|
||||||
if (obj == NULL || obj == Py_None ) {
|
if (obj == NULL) {
|
||||||
SetErrorCode("Error during executing of python script !!!");
|
SetErrorCode("Error during executing of python script !!!");
|
||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
PyGILState_Release(gstate);
|
PyGILState_Release(gstate);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user