diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/ConfiguredMuonRec.py b/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/ConfiguredMuonRec.py
index 10889d3dd5661621d3e57bfe0db38b8a4e51454b..2918cb5eb6b4a62ac34a0050157ea096172b328e 100644
--- a/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/ConfiguredMuonRec.py
+++ b/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/ConfiguredMuonRec.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
 
 
 __all__ = [ 'ConfiguredMuonRec', 'GetMuonRec', 'CompositeMuonRec' ]
@@ -89,7 +89,7 @@ class ConfiguredMuonRec(object):
             dataKeys = self.dataKeys()
             if len(dataKeys) > 0:
                 lines.append('## Storegate Data Keys: ##')
-                keys = dataKeys.keys()
+                keys = list(dataKeys.keys())
                 inKeys = self.registeredInputKeys()
                 outKeys = self.registeredOutputKeys()
                 keys.sort() # show alphabetically
diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRec.py b/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRec.py
index 15a97a2d48ac42e4567e628f63fb8e8ed5d5ef73..eddc4632a0a239d2f164951d8f2e161a1f25e48b 100644
--- a/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRec.py
+++ b/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRec.py
@@ -1,11 +1,11 @@
-# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 
 from __future__ import print_function
 
-from MuonRecFlags import muonRecFlags
-from MuonStandaloneFlags import muonStandaloneFlags
+from .MuonRecFlags import muonRecFlags
+from .MuonStandaloneFlags import muonStandaloneFlags
 
-from ConfiguredMuonRec import ParallelMuonRec
+from .ConfiguredMuonRec import ParallelMuonRec
 from AthenaCommon.Logging import logging
 from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
 
diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py b/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py
index f475c3a39420ca59189d53d456e111f79dab01ba..0d29a5185c161e150829afb80cda7eeddfead9b8 100644
--- a/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py
+++ b/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_jobOptions.py
@@ -126,7 +126,7 @@ if rec.doTruth() and DetFlags.makeRIO.Muon_on():
            topSequence.MuonTruthDecorationAlg.BarcodeOffset = 10000000
 
    except:
-       print "Failed to read /Simulation/Parameters/ metadata"
+       printfunc ("Failed to read /Simulation/Parameters/ metadata")
        pass
 
 #load default tools:
@@ -167,7 +167,7 @@ if muonRecFlags.doStandalone():
             if truthStrategy in ['MC15', 'MC18', 'MC18LLP']:
                 topSequence.MuonSegmentTruthAssociationAlg.BarcodeOffset = 10000000
         except:
-            print "Failed to read /Simulation/Parameters/ metadata"
+            printfunc ("Failed to read /Simulation/Parameters/ metadata")
             pass
 
 #--------------------------------------------------------------------------