mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1623328 Handle missing target_task_set in try estimates r=ahal
I'm unsure of the root cause as the file should exist if generate_tasks has worked, but this should avoid errors in the meantime while we investigate. Differential Revision: https://phabricator.services.mozilla.com/D67833 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
d1bfb4ded2
commit
f02a5bdd6c
@ -101,7 +101,7 @@ def make_trimmed_taskgraph_cache(graph_cache, dep_cache, target_file=None):
|
|||||||
return
|
return
|
||||||
|
|
||||||
target_task_set = set()
|
target_task_set = set()
|
||||||
if target_file:
|
if target_file and os.path.isfile(target_file):
|
||||||
with open(target_file) as f:
|
with open(target_file) as f:
|
||||||
target_task_set = set(json.load(f).keys())
|
target_task_set = set(json.load(f).keys())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user