From f83214cde3c3f5b51ed2d0120bcbc367e9daeb08 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Mon, 6 Jan 2020 16:21:23 +0100
Subject: [PATCH] PerfMonComps: More python 3 fixes

 - Protect against container changing during iteration.
---
 .../PerformanceMonitoring/PerfMonComps/python/PyPerfMon.py    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Control/PerformanceMonitoring/PerfMonComps/python/PyPerfMon.py b/Control/PerformanceMonitoring/PerfMonComps/python/PyPerfMon.py
index d9910e5a441e..60d0dc473fbc 100644
--- a/Control/PerformanceMonitoring/PerfMonComps/python/PyPerfMon.py
+++ b/Control/PerformanceMonitoring/PerfMonComps/python/PyPerfMon.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 
 # @file: PyPerfMon.py
 # @author: Sebastien Binet <binet@cern.ch>
@@ -516,7 +516,7 @@ class PoolMonTool(object):
         outFiles = set()
         from AthenaCommon import CfgMgr
         from AthenaCommon.Configurable import Configurable
-        for c in Configurable.allConfigurables.values():
+        for c in list(Configurable.allConfigurables.values()):
             if not isinstance(c, CfgMgr.AthenaOutputStream): continue
             try:
                 outFile = c.properties()["OutputFile"]
-- 
GitLab