From ae9e488b9e6cab8bca4875e7dd9be06892419f34 Mon Sep 17 00:00:00 2001 From: Walter Lampl <Walter.Lampl@cern.ch> Date: Mon, 6 Feb 2023 12:50:52 +0100 Subject: [PATCH] processPostExec: Import CompFactory before executing post-exec commands --- Tools/PyJobTransforms/python/TransformUtils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/PyJobTransforms/python/TransformUtils.py b/Tools/PyJobTransforms/python/TransformUtils.py index 22c51df322eb..f47705abb942 100644 --- a/Tools/PyJobTransforms/python/TransformUtils.py +++ b/Tools/PyJobTransforms/python/TransformUtils.py @@ -53,6 +53,7 @@ def processPostExec(runArgs, flags, cfg): if hasattr(runArgs, 'postExec') and runArgs.postExec and runArgs.postExec != 'NONE': ConfigFlags = flags # noqa: F841 + from AthenaConfiguration.ComponentFactory import CompFactory # noqa: F401 for cmd in runArgs.postExec: exec(cmd) -- GitLab