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