mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
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:
parent
bfdd961bd3
commit
7bdb90fc43
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user