def __init__(self, section='umlmachines', files=list_rcfiles('umlmachines.conf')): if section is None: section = 'database' Configuration.__init__(self, section=section, files=files)
def __init__(self, section=None, files=list_rcfiles('paellarc')): if section is None: section = 'database' Configuration.__init__(self, section=section, files=files)
def get_machines_config(): paellarc = Configure(list_rcfiles('paellarc')) umcfg = paellarc.get('umlmachines', 'uml_machines_conf') cfg = RawConfigParser() cfg.read(umcfg) return Configure([umcfg])