1 """This script inspects existing modules in SALOME and registrs them in
6 import SALOME_ModuleCatalog
9 # needed on immediate start of SHAPER from SALOME: salome.naming_service is not initialized then
11 obj = salome.naming_service.Resolve('Kernel/ModulCatalog')
12 catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
13 aCorbaModules = catalog.GetComponentList()
14 for aName in aCorbaModules:
15 ConfigAPI.Config_ModuleReader.addDependencyModule(aName)