From e796a2510af1106680eb8fe8319feb8516507bfc Mon Sep 17 00:00:00 2001 From: Bill Balunas <bill.balunas@cern.ch> Date: Tue, 28 Jan 2020 20:03:21 +0100 Subject: [PATCH] Fix syntax and incorrect variable name --- Reconstruction/Jet/JetRec/python/JetToolSupport.py | 2 +- Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Reconstruction/Jet/JetRec/python/JetToolSupport.py b/Reconstruction/Jet/JetRec/python/JetToolSupport.py index 5796f219df9..65c97f4436c 100644 --- a/Reconstruction/Jet/JetRec/python/JetToolSupport.py +++ b/Reconstruction/Jet/JetRec/python/JetToolSupport.py @@ -144,7 +144,7 @@ class JetToolManager: def configureContainerName(self, modifiers, containerName): for mod in modifiers: if "JetContainer" in mod.properties(): - print "configuring " + mod.name() + " to have container name " + containerName + print ("configuring " + mod.name() + " to have container name " + containerName) mod.JetContainer = containerName # Return the list of modifiers associated with a name. diff --git a/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py b/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py index f99d596ec61..08e126ccae6 100644 --- a/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py +++ b/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py @@ -216,7 +216,7 @@ def expandPrereqs(reqtype,prereqs): def configureContainerName(modifiers, containerName): for mod in modifiers: if "JetContainer" in mod.properties(): - mod.JetContainer = output + mod.JetContainer = containerName ######################################################################## -- GitLab