From: Anthony Geay Date: Sat, 23 Jan 2021 04:36:03 +0000 (+0100) Subject: Delegate to KERNEL salome module the Session Status X-Git-Tag: V9_7_0a1~47^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fagy%2Farch2_ic0;p=modules%2Fshaper.git Delegate to KERNEL salome module the Session Status --- 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)