Merge "Update groups maint script"

This commit is contained in:
Jenkins 2015-09-22 01:17:48 +00:00 committed by Gerrit Code Review
commit 764326fdec
1 changed files with 3 additions and 1 deletions

View File

@ -152,7 +152,9 @@ def main():
gerrit = Gerrit(gconfig['url'], gconfig['username'], gconfig['password'])
pyaml = yaml.load(requests.get(PROJECTS_YAML, stream=True).raw)
projects = [x['repo'] for x in pyaml['Infrastructure']['projects']]
projects = []
for deliverable in pyaml['Infrastructure']['deliverables'].values():
projects += deliverable['repos']
core_groups = ['infra-core']
for project in projects: