From 653e1f30d74f3cf7c2a90edb3bde38bca32a0aea Mon Sep 17 00:00:00 2001 From: Nicolas Koehler <nicolas.koehler@cern.ch> Date: Wed, 17 Jun 2020 10:22:10 +0000 Subject: [PATCH] move future import to top --- .../MuonRecExample/share/MuonRec_myTopOptions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_myTopOptions.py b/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_myTopOptions.py index 9e2fa8f727b..1d302bc7794 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_myTopOptions.py +++ b/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonRec_myTopOptions.py @@ -1,5 +1,7 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration +from __future__ import print_function + from MuonRecExample.MuonRecFlags import muonRecFlags from RecExConfig.RecFlags import rec from RecExConfig.RecAlgsFlags import recAlgs @@ -78,7 +80,6 @@ try: except: # print the stacktrace (saving could fail, and would then obscure the real problem) import traceback - from __future__ import print_function print ('INFO: MuonRec_myTopOptions.py - stack trace:') print (traceback.format_exc().rstrip()) -- GitLab