12 from AthenaCommon.Debugging
import hookDebugger,DbgStage
13 if DbgStage.value ==
"fini":
18 traceback.print_exc(file=sys.stdout)
20 import AthenaCommon.ExitCodes
as ath_codes
21 if theApp._exitstate == ath_codes.ALL_OK:
22 theApp._exitstate = ath_codes.UNKNOWN_EXCEPTION
26 import AthenaCommon.ExitCodes
as ath_codes
27 if theApp._exitstate != ath_codes.ALL_OK:
30 from AthenaCommon.AppMgr
import ServiceMgr
as svcMgr
31 if hasattr( svcMgr,
'AthenaSummarySvc' ):
32 from AthenaPython
import PyAthena
33 aths = PyAthena.py_svc(
'AthenaSummarySvc', iface=
'IAthenaSummarySvc')
34 aths.setStatus( theApp._exitstate )
37 print (
"import of PyAthena failed: unable to trigger AthenaSummarySvc")