![]() |
ATLAS Offline Software
|
Functions | |
| silent (func) | |
| Redirect stdout/err to /dev/null Useful wrapper to get rid of ROOT verbosity... N.B. | |
| stdTrfExceptionHandler (func) | |
| Decorator to wrap a transform in outer try: ... except: ... | |
| 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. | |
| timelimited (timeout=None, retry=1, timefactor=1.5, sleeptime=10, defaultrc=None) | |
Variables | |
| msg = logging.getLogger(__name__) | |
| 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.
| 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.
| python.trfDecorators.stdTrfExceptionHandler | ( | func | ) |
Decorator to wrap a transform in outer try: ... except: ...
Definition at line 60 of file trfDecorators.py.
| 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 = logging.getLogger(__name__) |
Definition at line 17 of file trfDecorators.py.