mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1851191 - expire variants even if they are composite variants. r=suhaib,taskgraph-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D187282
This commit is contained in:
parent
7c4347ed32
commit
1e31bbe89e
@ -72,8 +72,8 @@ def split_variants(config, tasks):
|
||||
def remove_expired(variants, expired):
|
||||
remaining_variants = []
|
||||
for name in variants:
|
||||
parts = [p for p in name.split("+") if p not in expired]
|
||||
if len(parts) == 0:
|
||||
parts = [p for p in name.split("+") if p in expired]
|
||||
if len(parts) > 0:
|
||||
continue
|
||||
|
||||
remaining_variants.append(name)
|
||||
|
Loading…
Reference in New Issue
Block a user