Bug 1341214 - Define GECKO in a single location. r=dustin

Instead of every file trying to get the top source directory having an
ad-hoc definition that gets wrong if the files gets moved around for
some reason, define it in a more central location.
This commit is contained in:
Mike Hommey
2017-02-17 11:56:12 +09:00
parent 6b28dd24f0
commit eb5916da95
9 changed files with 13 additions and 14 deletions

View File

@@ -4,13 +4,10 @@
from __future__ import absolute_import, print_function, unicode_literals
import os
from .graph import Graph
from .util.python_path import find_object
TASKCLUSTER_QUEUE_URL = "https://queue.taskcluster.net/v1/task/"
GECKO = os.path.realpath(os.path.join(__file__, '..', '..', '..'))
class TaskGraph(object):