Public Member Functions | |
def | __init__ |
Public Attributes | |
db | |
name | |
run | |
value |
Definition at line 44 of file options.py.
def options::ConnectionHLTMenu::__init__ | ( | self, | |
value | |||
) |
Definition at line 45 of file options.py.
00046 : 00047 self.value = value 00048 self.db = None 00049 self.name = None 00050 self.run = None 00051 00052 # extract the database and configuration name 00053 if value: 00054 if ':' in self.value: 00055 (db, name) = self.value.split(':') 00056 if db == 'run': 00057 self.run = name 00058 elif db in ('hltdev', 'orcoff'): 00059 self.db = db 00060 self.name = name 00061 else: 00062 raise Exception('Unknown ConfDB database "%s", valid values are "hltdev" (default) and "orcoff")' % db) 00063 else: 00064 self.db = 'hltdev' 00065 self.name = self.value 00066 00067 # options marked with a (*) only apply when creating a whole process configuration
Definition at line 45 of file options.py.
Definition at line 45 of file options.py.
Definition at line 45 of file options.py.
Definition at line 45 of file options.py.