From 4cafe31b17b9b7df8e4c34084d2f777c27136705 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 15 Sep 2015 07:49:17 -0700 Subject: [PATCH] Update groups maint script Update the infra group maintenance script for the most recent governance projects.yaml changes. Change-Id: I7dffbcd4467572b2e99ed41cbee000baae2d332d --- tools/maintain-infra-groups.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/maintain-infra-groups.py b/tools/maintain-infra-groups.py index 1371f3e3fc..f45397ff08 100644 --- a/tools/maintain-infra-groups.py +++ b/tools/maintain-infra-groups.py @@ -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: