show the number of repos for a team

Change-Id: I0201d59b810a79899999b1a1a8f8c4ccc52cf419
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-08-29 15:33:34 -04:00
parent 4125c31e74
commit d21ff30932
1 changed files with 2 additions and 1 deletions

View File

@ -358,7 +358,8 @@ class PatchesCount(lister.Lister):
def get_done_value(team):
if not team_counts[team]:
return 'not started'
n_repos = len(list(gov_dat.get_repos_for_team(team)))
return 'not started, {} repos'.format(n_repos)
cleanup = cleanup_changes.get(team.lower())
if not cleanup:
return 'cleanup patch not found'