diff --git a/Tools/PyJobTransforms/python/TransformUtils.py b/Tools/PyJobTransforms/python/TransformUtils.py index 22c51df322eb17c0708df96bc508c4c01f68d273..f47705abb942257a103ba1818df124c2b99842c4 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)