]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Delegate to KERNEL salome module the Session Status agy/arch2_ic0
authorAnthony Geay <anthony.geay@edf.fr>
Sat, 23 Jan 2021 04:36:03 +0000 (05:36 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 1 Feb 2021 19:19:06 +0000 (20:19 +0100)
src/PythonAPI/initConfig.py

index 42a7917747a3487e197ec8d5d2fe7f0eccd2895e..f072a1d645cfa58a388faec4ffa49dbdb3e836d4 100644 (file)
@@ -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)