diff --git a/Database/AthenaPOOL/OutputStreamAthenaPool/python/OutputStreamAthenaPool.py b/Database/AthenaPOOL/OutputStreamAthenaPool/python/OutputStreamAthenaPool.py index b68fae5d90d4de90ad6ac8497fda10e4862c537d..6c1bf5ad99080a1fa8ff6e3d5bb68071e4ca3556 100644 --- a/Database/AthenaPOOL/OutputStreamAthenaPool/python/OutputStreamAthenaPool.py +++ b/Database/AthenaPOOL/OutputStreamAthenaPool/python/OutputStreamAthenaPool.py @@ -6,6 +6,8 @@ ## $Id: OutputStreamAthenaPool.py,v 1.10 2009-04-27 18:19:34 gemmeren Exp $ ############################################################### +from __future__ import print_function + from AthenaCommon.AppMgr import theApp from AthenaCommon.AppMgr import ServiceMgr as svcMgr from AthenaServices.AthenaServicesConf import AthenaOutputStream @@ -37,9 +39,8 @@ def createOutputStream( streamName, fileName = "", asAlg = False, noTag = False, # Tell tool to pick it up outputStream.WritingTool.AttributeListKey=key # build eventinfo attribute list - from OutputStreamAthenaPoolConf import EventInfoAttListTool + from .OutputStreamAthenaPoolConf import EventInfoAttListTool, EventInfoTagBuilder svcMgr.ToolSvc += EventInfoAttListTool() - from OutputStreamAthenaPoolConf import EventInfoTagBuilder EventInfoTagBuilder = EventInfoTagBuilder(AttributeList=key, EventInfoKey=eventInfoKey) topSequence += EventInfoTagBuilder @@ -51,7 +52,7 @@ def createOutputStream( streamName, fileName = "", asAlg = False, noTag = False, if fileName != "": outputStream.OutputFile = fileName - from OutputStreamAthenaPoolConf import MakeEventStreamInfo + from .OutputStreamAthenaPoolConf import MakeEventStreamInfo streamInfoTool = MakeEventStreamInfo( streamName + "_MakeEventStreamInfo" ) streamInfoTool.Key = streamName outputStream.HelperTools = [ streamInfoTool ]