From 59c62bd61c4459fa6902c3e9f96a8fd67b2f9322 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Mon, 17 Apr 2017 09:05:13 +0900 Subject: [PATCH] Bug 1356934 - Don't assume the path to the taskcluster config is relative to topsrcdir. r=gps --HG-- extra : rebase_source : 4f9f30f563b60649f4fe26836c766e16d4b54491 --- python/mozbuild/mozbuild/mach_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py index 3d2ebc17c67e..d601d6038ac5 100644 --- a/python/mozbuild/mozbuild/mach_commands.py +++ b/python/mozbuild/mozbuild/mach_commands.py @@ -1666,8 +1666,8 @@ class PackageFrontend(MachCommandBase): # TODO: move to the taskcluster package def tasks(kind): - kind_path = mozpath.join('taskcluster', 'ci', kind) - with open(mozpath.join(self.topsrcdir, kind_path, 'kind.yml')) as f: + kind_path = mozpath.join(self.topsrcdir, 'taskcluster', 'ci', kind) + with open(mozpath.join(kind_path, 'kind.yml')) as f: config = yaml.load(f) tasks = Kind(kind, kind_path, config).load_tasks(params, {}) return {