Exemplo n.º 1
0
 def __init__(self,
              section='umlmachines',
              files=list_rcfiles('umlmachines.conf')):
     if section is None:
         section = 'database'
     Configuration.__init__(self, section=section, files=files)
Exemplo n.º 2
0
 def __init__(self, section=None, files=list_rcfiles('paellarc')):
     if section is None:
         section = 'database'
     Configuration.__init__(self, section=section, files=files)
Exemplo n.º 3
0
 def __init__(self, section=None, files=list_rcfiles('paellarc')):
     if section is None:
         section = 'database'
     Configuration.__init__(self, section=section, files=files)
Exemplo n.º 4
0
def get_machines_config():
    paellarc = Configure(list_rcfiles('paellarc'))
    umcfg = paellarc.get('umlmachines', 'uml_machines_conf')
    cfg = RawConfigParser()
    cfg.read(umcfg)
    return Configure([umcfg])
Exemplo n.º 5
0
 def __init__(self, section='umlmachines',
              files=list_rcfiles('umlmachines.conf')):
     if section is None:
         section = 'database'
     Configuration.__init__(self, section=section, files=files)
Exemplo n.º 6
0
def get_machines_config():
    paellarc = Configure(list_rcfiles('paellarc'))
    umcfg = paellarc.get('umlmachines', 'uml_machines_conf')
    cfg = RawConfigParser()
    cfg.read(umcfg)
    return Configure([umcfg])