From 9e75cfe9e348486d75549b2b1d051c97a9eae2e1 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 13 Sep 2018 23:55:09 -0400 Subject: [PATCH] say 'migrated' not 'done' so teams don't think they are finished Change-Id: Ia326ffc3f300498decb413f2fa878381d9ae849b Signed-off-by: Doug Hellmann --- goal_tools/python3_first/patches.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/goal_tools/python3_first/patches.py b/goal_tools/python3_first/patches.py index 54d16f4..ffceaaf 100644 --- a/goal_tools/python3_first/patches.py +++ b/goal_tools/python3_first/patches.py @@ -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)), '') )