ATLAS Offline Software
|
Functions | |
def | silent (func) |
Redirect stdout/err to /dev/null Useful wrapper to get rid of ROOT verbosity... More... | |
def | stdTrfExceptionHandler (func) |
Decorator to wrap a transform in outer try: ... More... | |
def | sigUsrStackTrace (func) |
Decorator to dump a stack trace when hit by SIGUSR Note that this decorator has to go inside the stdTrfExceptionHandler Or the general exception catcher catches the SigUser exception. More... | |
def | timelimited (timeout=None, retry=1, timefactor=1.5, sleeptime=10, defaultrc=None) |
Variables | |
msg | |
def python.trfDecorators.sigUsrStackTrace | ( | func | ) |
Decorator to dump a stack trace when hit by SIGUSR Note that this decorator has to go inside the stdTrfExceptionHandler Or the general exception catcher catches the SigUser exception.
Definition at line 111 of file trfDecorators.py.
def python.trfDecorators.silent | ( | func | ) |
Redirect stdout/err to /dev/null Useful wrapper to get rid of ROOT verbosity...
N.B. May be somewhat dangerous in its present form - all errors disappear even ones you might want to see :-)
Definition at line 24 of file trfDecorators.py.
def python.trfDecorators.stdTrfExceptionHandler | ( | func | ) |
Decorator to wrap a transform in outer try: ...
except: ...
Definition at line 60 of file trfDecorators.py.
def python.trfDecorators.timelimited | ( | timeout = None , |
|
retry = 1 , |
|||
timefactor = 1.5 , |
|||
sleeptime = 10 , |
|||
defaultrc = None |
|||
) |
Definition at line 140 of file trfDecorators.py.
python.trfDecorators.msg |
Definition at line 17 of file trfDecorators.py.