|
Gaudi Framework, version v21r4 |
| Home | Generated: 7 Sep 2009 |
Functions | |
| def | option_cb |
Variables | |
| tuple | parser = OptionParser(usage = "%prog [options] <opts_file> ...") |
| string | help = "do not run the application, just parse option files" |
| string | metavar = "FILE" |
| string | type = "string" |
| string | dest = "post_options" |
| tcmalloc = False) | |
| level = logging.INFO | |
| tuple | root_logger = logging.getLogger() |
| tuple | libname = os.environ.get("TCMALLOCLIB", "libtcmalloc.so") |
| tuple | preload = os.environ.get("LD_PRELOAD", "") |
| list | args = [ a for a in sys.argv if a != '-T' and not '--tcmalloc'.startswith(a) ] |
| tuple | c = gaudimain() |
| list | options = [ "importOptions(%r)" % f for f in args ] |
| tuple | optlines = list(opts.options) |
| dictionary | g = {} |
| dictionary | l = {} |
| def gaudirun::option_cb | ( | option, | ||
| opt, | ||||
| value, | ||||
| parser | ||||
| ) |
Add the option line to a list together with its position in the argument list.
Definition at line 21 of file gaudirun.py.
00021 : 00022 """Add the option line to a list together with its position in the 00023 argument list. 00024 """ 00025 parser.values.options.append((len(parser.largs), value)) 00026 parser.add_option("--option", action="callback", callback=option_cb, type = "string", nargs = 1,
| list gaudirun::args = [ a for a in sys.argv if a != '-T' and not '--tcmalloc'.startswith(a) ] |
Definition at line 85 of file gaudirun.py.
| tuple gaudirun::c = gaudimain() |
Definition at line 100 of file gaudirun.py.
| string gaudirun::dest = "post_options" |
Definition at line 42 of file gaudirun.py.
| dictionary gaudirun::g = {} |
Definition at line 115 of file gaudirun.py.
| string gaudirun::help = "do not run the application, just parse option files" |
Definition at line 9 of file gaudirun.py.
| dictionary gaudirun::l = {} |
Definition at line 116 of file gaudirun.py.
| gaudirun::level = logging.INFO |
Definition at line 68 of file gaudirun.py.
| tuple gaudirun::libname = os.environ.get("TCMALLOCLIB", "libtcmalloc.so") |
Definition at line 76 of file gaudirun.py.
| string gaudirun::metavar = "FILE" |
Definition at line 11 of file gaudirun.py.
| list gaudirun::options = [ "importOptions(%r)" % f for f in args ] |
Definition at line 105 of file gaudirun.py.
| tuple gaudirun::optlines = list(opts.options) |
Definition at line 108 of file gaudirun.py.
| tuple gaudirun::parser = OptionParser(usage = "%prog [options] <opts_file> ...") |
Definition at line 7 of file gaudirun.py.
| tuple gaudirun::preload = os.environ.get("LD_PRELOAD", "") |
Definition at line 77 of file gaudirun.py.
| tuple gaudirun::root_logger = logging.getLogger() |
Definition at line 72 of file gaudirun.py.
| gaudirun::tcmalloc = False) |
Definition at line 58 of file gaudirun.py.
| string gaudirun::type = "string" |
Definition at line 27 of file gaudirun.py.