diff --git a/Control/SGComps/python/SGInputLoaderConfig.py b/Control/SGComps/python/SGInputLoaderConfig.py index 2f091550538fdedafc79c576717fadafa126492e..83e3fb4cd1bb954ea439c53040bd0cd52c0dd9ac 100644 --- a/Control/SGComps/python/SGInputLoaderConfig.py +++ b/Control/SGComps/python/SGInputLoaderConfig.py @@ -1,20 +1,11 @@ # -# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration # from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator from AthenaConfiguration.ComponentFactory import CompFactory def SGInputLoaderCfg(flags, **kwargs): sgil = CompFactory.SGInputLoader(**kwargs) - - # Custom merge semantics to allow appending items to the Load list - def merge_sgil_types(a, b): - for item in b: - if item not in a: - a.append(item) - return a - sgil._descriptors['Load'].semantics.merge = merge_sgil_types - acc = ComponentAccumulator() acc.addEventAlgo(sgil, primary=True) return acc