say 'migrated' not 'done' so teams don't think they are finished

Change-Id: Ia326ffc3f300498decb413f2fa878381d9ae849b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-09-13 23:55:09 -04:00
parent 10683ac5dc
commit 9e75cfe9e3
1 changed files with 4 additions and 4 deletions

View File

@ -386,9 +386,9 @@ class PatchesCount(lister.Lister):
return 'cleanup patch not found'
workflow_votes = count_votes(cleanup, 'Workflow')
if cleanup.get('status') == 'MERGED':
return 'DONE'
return 'MIGRATED'
if open_counts[team]:
return 'migration in progress'
return 'in progress'
if workflow_votes.get(-1):
if parsed_args.minimal:
return 'ready for cleanup'
@ -420,8 +420,8 @@ class PatchesCount(lister.Lister):
total_open,
total_fail,
total_all,
'{:2}/{:2} DONE'.format(status_counts.get('DONE'),
len(data)),
'{:2}/{:2} MIGRATED'.format(status_counts.get('MIGRATED'),
len(data)),
'')
)