Skip to content
Snippets Groups Projects
Commit ec7e1cb4 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'ubsan.CaloRingerAlgs-20181016' into 'master'

CaloRingerAlgs: Fix undefined behavior sanitizer warning.

See merge request atlas/athena!15055
parents 8ed1bfbd 1d3dbc1a
No related branches found
No related tags found
1 merge request!20779WIP: Migrate DataQualityTools to ToolHandles
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
#======================================================================= #=======================================================================
# File: CaloRingerAlgs/python/CaloRingerFlags.py # File: CaloRingerAlgs/python/CaloRingerFlags.py
...@@ -43,13 +43,13 @@ class CaloRingerFlagsJobProperty(JobProperty): ...@@ -43,13 +43,13 @@ class CaloRingerFlagsJobProperty(JobProperty):
return False return False
jobproperties.CaloRingerFlags.add_JobProperty(CaloRingerFlagsJobProperty) jobproperties.CaloRingerFlags.add_JobProperty(CaloRingerFlagsJobProperty)
from AthenaCommon.Logging import logging from AthenaCommon import Constants
class OutputLevel(CaloRingerFlagsJobProperty): class OutputLevel(CaloRingerFlagsJobProperty):
""" switch for all CaloRinger algorithms and tools """ switch for all CaloRinger algorithms and tools
""" """
statusOn = True statusOn = True
allowedTypes = ['int'] allowedTypes = ['int']
StoredValue = logging.INFO StoredValue = Constants.INFO
jobproperties.CaloRingerFlags.add_JobProperty(OutputLevel) jobproperties.CaloRingerFlags.add_JobProperty(OutputLevel)
#======================================================================= #=======================================================================
......
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