Skip to content

Commit

Permalink
Fix moduleLabelsInSequences to avoid conflicts with modules parameters
Browse files Browse the repository at this point in the history
Fix moduleLabelsInSequences to run on paths or sequences that include a
module that defines "label" as a top-level parameter.
  • Loading branch information
fwyzard committed May 8, 2020
1 parent bf5d540 commit 2c6442e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FWCore/ParameterSet/python/Utilities.py
Expand Up @@ -162,7 +162,7 @@ def modulesInSequences(* sequences):


def moduleLabelsInSequences(* sequences):
return [module.label() for module in modulesInSequences(* sequences)]
return [module.label_() for module in modulesInSequences(* sequences)]

def createTaskWithAllProducersAndFilters(process):
from FWCore.ParameterSet.Config import Task
Expand Down

0 comments on commit 2c6442e

Please sign in to comment.