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

index 4420fdfda5565f3569fc20741b73ea0a7b58e75b..2f513f533ddf64f175107a907b8823cb094173e7 100644 (file)
@@ -3571,7 +3571,7 @@ VisuGUI
 
   // import Python module that manages VISU 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