We probably need to do something like manage_projects.py's...
configs = [config for config in yaml.load_all(open(PROJECTS_YAML))] if os.path.exists(PROJECTS_INI): projects_yaml_list = configs[0] defaults = ConfigParser.ConfigParser() defaults.read(PROJECTS_INI) [...] else: projects_yaml_list = configs[1] defaults = configs[0][0] [...]
Ultimately I think we need to be going through jeepyb.utils.ProjectsYamlRegistry(), maybe indirectly via new functions in jeepyb.projects.
We probably need to do something like manage_ projects. py's...
configs = [config for config in yaml.load_ all(open( PROJECTS_ YAML))] exists( PROJECTS_ INI):
projects_ yaml_list = configs[0] ConfigParser( )
defaults. read(PROJECTS_ INI)
projects_ yaml_list = configs[1]
if os.path.
defaults = ConfigParser.
[...]
else:
defaults = configs[0][0]
[...]
Ultimately I think we need to be going through jeepyb. utils.ProjectsY amlRegistry( ), maybe indirectly via new functions in jeepyb.projects.