From e33ab5bbd4abff38af7d8f6ebcf07f6969b3240f Mon Sep 17 00:00:00 2001
From: Stewart Martin-Haugh <smh@cern.ch>
Date: Thu, 6 Jun 2019 13:30:11 +0200
Subject: [PATCH] Rename delattr to avoid conflict with builtin

---
 Control/AthenaCommon/python/AppMgr.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Control/AthenaCommon/python/AppMgr.py b/Control/AthenaCommon/python/AppMgr.py
index f757a27fc63b..89c846b1cb13 100755
--- a/Control/AthenaCommon/python/AppMgr.py
+++ b/Control/AthenaCommon/python/AppMgr.py
@@ -947,7 +947,7 @@ GaudiSvcConf.AuditorSvc.__iadd__ =iadd
 del iadd
 
 
-def delattr( self, attr ):
+def _delattr( self, attr ):
    try:
       c = getattr( self, attr )
 
@@ -966,8 +966,8 @@ def delattr( self, attr ):
 
    super( GaudiSvcConf.AuditorSvc, self ).__delattr__( attr )
 
-GaudiSvcConf.AuditorSvc.__delattr__ = delattr
-del delattr
+GaudiSvcConf.AuditorSvc.__delattr__ = _delattr
+del _delattr
 
 
 # AuditorSvc globals
-- 
GitLab