The Gaudi Framework  v29r0 (ff2e7097)
Constants.py
Go to the documentation of this file.
1 # File: AthenaCommon/python/Constants.py
2 # Author: Wim Lavrijsen (WLavrijsen@lbl.gov)
3 
4 """Useful/conventional constants."""
5 
6 __all__ = ['ALL', 'VERBOSE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL',
7  'TRUE', 'FALSE']
8 
9 
10 # message levels -----------------------------------------------------------
11 ALL = 0
12 VERBOSE = 1
13 DEBUG = 2
14 INFO = 3
15 WARNING = 4
16 ERROR = 5
17 FATAL = 6
18 
19 # for job options legacy (TODO: get rid of these!) -------------------------
20 TRUE = True
21 FALSE = False
22 
23 # message to notify folks that they really have to fix their codes:
24 error_explanation = """
25  ==> After this line, a hack will be executed, attempting to rectify the
26  ==> problem just reported. Since this hack may fail, and since it is a
27  ==> rather temporary measure hack, this is an ERROR, not a WARNING."""