]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL22422 : TC6.3.0:hangup importing python dump
authorvsr <vsr@opencascade.com>
Mon, 25 Apr 2011 15:33:10 +0000 (15:33 +0000)
committervsr <vsr@opencascade.com>
Mon, 25 Apr 2011 15:33:10 +0000 (15:33 +0000)
src/GEOMGUI/GeometryGUI.cxx

index a2fbe74ccd0c88a7a7a8cd53ac009562e9b663ba..857028ac84ed74241f6b0ad0fcca8191d2ea4526 100644 (file)
@@ -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