Include "Invalid" bugs in cleanup CLI

If a bug is invalid in a project then we should probably
consider its query for removal in the cleanup command.
For example, bug 1663529 and bug 1828244 were both marked
Invalid and had no hits but weren't processed by the
cleanup command.

Change-Id: I7bac9fc169601c86a26565e9fa5b3d72c362a8fc
This commit is contained in:
Matt Riedemann 2019-08-26 12:19:01 -04:00
parent dfede97d1c
commit d753cf0190
1 changed files with 2 additions and 2 deletions

View File

@ -18,10 +18,10 @@ from elastic_recheck.cmd import graph
from elastic_recheck import elasticRecheck as er
# TODO(mriedem): We may want to include Invalid, Incomplete and Won't Fix in
# TODO(mriedem): We may want to include Incomplete and Won't Fix in
# this list since a bug could be reported against multiple projects but only
# fixed in one of them and marked Invalid in others.
FIXED_STATUSES = ('Fix Committed', 'Fix Released')
FIXED_STATUSES = ('Invalid', 'Fix Committed', 'Fix Released')
class InvalidProjectstatus(Exception):