From: vsr Date: Mon, 25 Apr 2011 15:33:10 +0000 (+0000) Subject: IPAL22422 : TC6.3.0:hangup importing python dump X-Git-Tag: V6_3_0b1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ff5d378f86c8af72d0ea8afd9f3e6de7c9865036;p=modules%2Fgeom.git IPAL22422 : TC6.3.0:hangup importing python dump --- diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index a2fbe74cc..857028ac8 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -1223,7 +1223,7 @@ bool GeometryGUI::activateModule( SUIT_Study* study ) // import Python module that manages GEOM plugins (need to be here because SalomePyQt API uses active module) PyGILState_STATE gstate = PyGILState_Ensure(); - PyObject* pluginsmanager=PyImport_ImportModule((char*)"salome_pluginsmanager"); + PyObject* pluginsmanager=PyImport_ImportModuleNoBlock((char*)"salome_pluginsmanager"); if(pluginsmanager==NULL) PyErr_Print(); else