![]() |
The Gaudi Framework
v36r13 (995e4364)
|
Classes | |
class | BootstrapHelper |
class | gaudimain |
Functions | |
def | _getAllOpts_old (explicit_defaults=False) |
def | getAllOpts (explicit_defaults=False) |
def | toOpt (value) |
def | parseOpt (s) |
Variables | |
log = logging.getLogger(__name__) | |
|
private |
def Gaudi.Main.getAllOpts | ( | explicit_defaults = False | ) |
def Gaudi.Main.parseOpt | ( | s | ) |
Helper to parse option strings to Python values. Ideally it should just be "eval", but the string parser of Gaudi is different from the Python one, so we get string options that cannot be just evaluated. >>> print(parseOpt('123')) 123 >>> print(parseOpt('"some\\n\\\\"text\\\\""')) some "text" >>> print(parseOpt('')) <BLANKLINE> (see gaudi/Gaudi#78)
Definition at line 295 of file Main.py.
def Gaudi.Main.toOpt | ( | value | ) |