Bug 1402194 - Don't fail when there is neither try syntax nor try_task_config.json. r=dustin

This commit is contained in:
Mike Hommey
2017-09-30 08:20:07 +09:00
parent 0838a71170
commit eaeb71aa21

View File

@@ -304,6 +304,8 @@ class TryOptionSyntax(object):
self.no_retry = False
options = parameters['try_options']
if not options:
return None
self.jobs = self.parse_jobs(options['jobs'])
self.build_types = self.parse_build_types(options['build_types'], full_task_graph)
self.platforms = self.parse_platforms(options['platforms'], full_task_graph)