Skip to content
Snippets Groups Projects
Commit a31520c0 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

LArCabling: python3 compatibility.

Make LArCablingConfig compatible with python3.
parent 04e545d5
No related branches found
No related tags found
Loading
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
from __future__ import print_function
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from IOVDbSvc.IOVDbSvcConfig import IOVDbSvcCfg,addFolders
from LArRecUtils.LArRecUtilsConf import LArOnOffMappingAlg, LArFebRodMappingAlg, LArCalibLineMappingAlg
......@@ -27,7 +29,7 @@ def _larCablingCfg(configFlags,algo,folder):
result.addCondAlgo(algo(ReadKey=folder),primary=True)
result.merge(addFolders(configFlags,folderwithtag,className="AthenaAttributeList",detDb=db))
#print result
#print (result)
return result
......@@ -66,4 +68,4 @@ if __name__ == "__main__":
acc.merge(LArFebRodMappingCfg(ConfigFlags))
acc.merge(LArCalibIdMappingCfg(ConfigFlags))
acc.store( file( "test.pkl", "w" ) )
print "All OK"
print ("All OK")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment