| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# Constants.py

Go to the documentation of this file.

    00001 # File: AthenaCommon/python/Constants.py
    00002 # Author: Wim Lavrijsen (WLavrijsen@lbl.gov)
    00003
    00004 """Useful/conventional constants."""
    00005
    00006 __all__ = [ 'ALL', 'VERBOSE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL',
    00007             'TRUE', 'FALSE' ]
    00008
    00009
    00010 ### message levels -----------------------------------------------------------
    00011 ALL     = 0
    00012 VERBOSE = 1
    00013 DEBUG   = 2
    00014 INFO    = 3
    00015 WARNING = 4
    00016 ERROR   = 5
    00017 FATAL   = 6
    00018
    00019 ### for job options legacy (TODO: get rid of these!) -------------------------
    00020 TRUE    = True
    00021 FALSE   = False
    00022
    00023 ### message to notify folks that they really have to fix their codes:
    00024 error_explanation = """
    00025      ==> After this line, a hack will be executed, attempting to rectify the
    00026      ==> problem just reported. Since this hack may fail, and since it is a
    00027      ==> rather temporary measure hack, this is an ERROR, not a WARNING."""