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
This commit is contained in:
Edwin Takahashi 2020-03-19 00:32:54 +00:00
parent bfdd961bd3
commit 7bdb90fc43

View File

@ -55,7 +55,7 @@ def guess_mozinfo_from_task(task):
def get_runtimes(platform): def get_runtimes(platform):
base = os.path.join(GECKO, 'testing', 'runtimes', 'manifest-runtimes-{}.json') base = os.path.join(GECKO, 'testing', 'runtimes', 'manifest-runtimes-{}.json')
for key in ('android', 'windows'): for key in ('android', 'windows'):
if key in platform: if platform in key:
path = base.format(key) path = base.format(key)
break break
else: else: