show completed status for migration counts

Change-Id: I5a0952469340dfb0ca5b9a953aec88bde21fa572
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-08-27 15:37:54 -04:00
parent 34d572253c
commit 597b61dabb
1 changed files with 3 additions and 2 deletions

View File

@ -263,9 +263,10 @@ class PatchesCount(lister.Lister):
if c.get('status') != 'MERGED':
open_counts.update(item)
columns = ('Team', 'Open', 'Total')
columns = ('Team', 'Open', 'Total', 'Done')
data = (
(team, open_counts[team], count)
(team, open_counts[team], count,
'yes' if open_counts[team] == 0 else '')
for team, count in sorted(team_counts.items())
)
return (columns, data)