The Gaudi Framework  v36r1 (3e2fb5a8)
Constants.py
Go to the documentation of this file.
1 
13 """Useful/conventional constants."""
14 
15 __all__ = [
16  'ALL', 'VERBOSE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL', 'TRUE',
17  'FALSE'
18 ]
19 
20 # message levels -----------------------------------------------------------
21 ALL = 0
22 VERBOSE = 1
23 DEBUG = 2
24 INFO = 3
25 WARNING = 4
26 ERROR = 5
27 FATAL = 6
28 
29 # for job options legacy (TODO: get rid of these!) -------------------------
30 TRUE = True
31 FALSE = False
32 
33 # message to notify folks that they really have to fix their codes:
34 error_explanation = """
35  ==> After this line, a hack will be executed, attempting to rectify the
36  ==> problem just reported. Since this hack may fail, and since it is a
37  ==> rather temporary measure hack, this is an ERROR, not a WARNING."""