Пример #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)
Пример #2
0
 def __init__(self, section=None, files=list_rcfiles('paellarc')):
     if section is None:
         section = 'database'
     Configuration.__init__(self, section=section, files=files)
Пример #3
0
 def __init__(self, section=None, files=list_rcfiles('paellarc')):
     if section is None:
         section = 'database'
     Configuration.__init__(self, section=section, files=files)
Пример #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])
Пример #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)
Пример #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])