Skip to content
Snippets Groups Projects
Commit c65d116f authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'iovdbsvc_extensible' into 'master'

HLT: Mark IOVDbSvc folders as extensible in allowCOOLUpdates Modifier

Closes ATR-19393

See merge request atlas/athena!27217
parents 8c398fda e9f665bc
No related branches found
No related tags found
No related merge requests found
...@@ -354,7 +354,13 @@ class allowCOOLUpdates(_modifier): ...@@ -354,7 +354,13 @@ class allowCOOLUpdates(_modifier):
""" """
def postSetup(self): def postSetup(self):
if hasattr(svcMgr,'HltEventLoopMgr'): if hasattr(svcMgr,'HltEventLoopMgr'):
svcMgr.HltEventLoopMgr.CoolUpdateTool.enable() svcMgr.HltEventLoopMgr.CoolUpdateTool.enable()
# Make sure relevant folders are marked as 'extensible'
for i, f in enumerate(svcMgr.IOVDbSvc.Folders):
if ('/Indet/Onl/Beampos' in f or '/TRIGGER/LUMI/HLTPrefLumi' in f) \
and '<extensible/>' not in f:
svcMgr.IOVDbSvc.Folders[i] += ' <extensible/>'
log.info('IOVDbSvc folder %s not marked as extensible. Fixing this...', f)
class useOracle(_modifier): class useOracle(_modifier):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment