From 7bdb90fc4365bc06f72f90cf0f7c9a18f70ef6be Mon Sep 17 00:00:00 2001 From: Edwin Takahashi Date: Thu, 19 Mar 2020 00:32:54 +0000 Subject: [PATCH] Bug 1623462 - fix incorrect check of windows platform value in chunking.py r=ahal Changes: While stepping through the debugger for Bug 1608837, it was found that for `platform = windows` the conditional was always evaluating to `False` thereby loading the fallback `unix` runtimes. Differential Revision: https://phabricator.services.mozilla.com/D67390 --HG-- extra : moz-landing-system : lando --- taskcluster/taskgraph/util/chunking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskcluster/taskgraph/util/chunking.py b/taskcluster/taskgraph/util/chunking.py index 485b8e8cd69e..e7c98ecd4f2a 100644 --- a/taskcluster/taskgraph/util/chunking.py +++ b/taskcluster/taskgraph/util/chunking.py @@ -55,7 +55,7 @@ def guess_mozinfo_from_task(task): def get_runtimes(platform): base = os.path.join(GECKO, 'testing', 'runtimes', 'manifest-runtimes-{}.json') for key in ('android', 'windows'): - if key in platform: + if platform in key: path = base.format(key) break else: