From 7e0fa47b17ce4c52a8d5fb8b363ba57621750f03 Mon Sep 17 00:00:00 2001 From: Edward Moyse <edward.moyse@cern.ch> Date: Wed, 3 Oct 2018 14:59:54 +0200 Subject: [PATCH] Fix for flake8 test Former-commit-id: a6788c22b49d6de0c94353d17ea209d161bbe2f5 --- Control/AthenaConfiguration/python/ComponentAccumulator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Control/AthenaConfiguration/python/ComponentAccumulator.py b/Control/AthenaConfiguration/python/ComponentAccumulator.py index a598164f9ab..a3da15d73e5 100644 --- a/Control/AthenaConfiguration/python/ComponentAccumulator.py +++ b/Control/AthenaConfiguration/python/ComponentAccumulator.py @@ -253,7 +253,8 @@ class ComponentAccumulator(object): (comp.getJobOptName(),oldprop.getFullName(),newprop.getFullName())) elif isinstance(oldprop,PublicToolHandleArray): for newtool in newprop: - if newtool not in oldprop: oldprop+=[newtool,] + if newtool not in oldprop: + oldprop+=[newtool,] continue elif isinstance(oldprop,ConfigurableAlgTool): self._deduplicateComponent(oldprop,newprop) -- GitLab