From a4d459a4e6b4568ef64c8f502e5673732f0ec06a Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <fwinkl@cern> Date: Wed, 9 Sep 2020 11:13:40 +0200 Subject: [PATCH] TrigCommon: Fix bug in TrigPyHelper introduced in !36223. Fix bug when parsing job properties of the type `MyAlg.MyTool.MyProp`. The client name is in this case `MyAlg.MyTool` and not only `MyAlg`. --- HLT/Trigger/TrigControl/TrigCommon/python/TrigPyHelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HLT/Trigger/TrigControl/TrigCommon/python/TrigPyHelper.py b/HLT/Trigger/TrigControl/TrigCommon/python/TrigPyHelper.py index 47751b4fbf6..24e7b61dcb3 100644 --- a/HLT/Trigger/TrigControl/TrigCommon/python/TrigPyHelper.py +++ b/HLT/Trigger/TrigControl/TrigCommon/python/TrigPyHelper.py @@ -44,7 +44,7 @@ class TrigApp(object): for p in jobOptSvc.items(): name = p._0 value = p._1 - client, prop = name.split('.',1) + client, prop = name.rsplit('.',1) if reClient.match(client) and reProp.match(prop): self.log.info("Changing %s.%s from '%s' to '%s'", client, prop, value, newValue) iprop = iProperty(client) -- GitLab