Public Member Functions | |
def | __init__ |
Public Attributes | |
db | |
name | |
run | |
value |
Definition at line 27 of file options.py.
def options::ConnectionHLTMenu::__init__ | ( | self, | |
value | |||
) |
Definition at line 28 of file options.py.
00029 : 00030 self.value = value 00031 self.db = None 00032 self.name = None 00033 self.run = None 00034 00035 # extract the database and configuration name 00036 if value: 00037 if ':' in self.value: 00038 (db, name) = self.value.split(':') 00039 if db == 'run': 00040 self.run = name 00041 elif db in ('hltdev', 'orcoff'): 00042 self.db = db 00043 self.name = name 00044 else: 00045 raise Exception('Unknown ConfDB database "%s", valid values are "hltdev" (default) and "orcoff")' % db) 00046 else: 00047 self.db = 'hltdev' 00048 self.name = self.value 00049 00050 # options marked with a (*) only apply when creating a whole process configuration
Definition at line 28 of file options.py.
Definition at line 28 of file options.py.
Definition at line 28 of file options.py.
Definition at line 28 of file options.py.