From 688a817c14bc6796243e022cc6c46ffd8efd28a7 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 25 Apr 2011 15:34:43 +0000 Subject: [PATCH] IPAL22422 : TC6.3.0:hangup importing python dump --- src/VISUGUI/VisuGUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 4420fdfd..2f513f53 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -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 -- 2.39.2