Skip to content

Commit b7869d0

Browse files
committed
update ScitagConfig tweak by separating productionCase parameter
1 parent 2bfcb44 commit b7869d0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/python/WMCore/WMRuntime/Scripts/SetupCMSSWPset.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,13 @@ def handleScitagConfig(self):
591591

592592
self.logger.info("Enabling ScitagConfig with productionCase for CMSSW version: %s", cmsswVersion)
593593
tweak = PSetTweak()
594-
tweak.addParameter("process.ScitagConfig",
595-
"customTypeCms.Service('ScitagConfig', productionCase=cms.untracked.bool(True))")
594+
tweak.addParameter("process.ScitagConfig", "customTypeCms.Service('ScitagConfig')")
596595
self.applyPsetTweak(tweak, skipIfSet=True)
597596

597+
tweak = PSetTweak()
598+
tweak.addParameter("process.ScitagConfig.productionCase", "customTypeCms.untracked.bool(True)")
599+
self.applyPsetTweak(tweak)
600+
598601
return
599602

600603
def handleEnforceGUIDInFileName(self, secondaryInput=None):

0 commit comments

Comments
 (0)