From 58e4d44e7d1ee4fe10321f3bcc3f2411df760670 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Sat, 23 Jan 2021 05:36:03 +0100 Subject: [PATCH] Delegate to KERNEL salome module the Session Status --- src/PythonAPI/initConfig.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/PythonAPI/initConfig.py b/src/PythonAPI/initConfig.py index 42a791774..f072a1d64 100644 --- a/src/PythonAPI/initConfig.py +++ b/src/PythonAPI/initConfig.py @@ -27,8 +27,6 @@ import ConfigAPI # needed on immediate start of SHAPER from SALOME: salome.naming_service is not initialized then salome.salome_init() -obj = salome.naming_service.Resolve('Kernel/ModulCatalog') -catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog) -aCorbaModules = catalog.GetComponentList() +aCorbaModules = salome.modulcat.GetComponentList() for aName in aCorbaModules: ConfigAPI.Config_ModuleReader.addDependencyModule(aName) -- 2.39.2