Bug 1590328 - [mozlint] Include mozbuild path now that mozversioncontrol uses it r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D52254

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Ed Lee 2019-11-08 02:46:44 +00:00
parent 2f71085f05
commit 42ee4fc91a
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import sys
here = os.path.dirname(os.path.realpath(__file__))
topsrcdir = os.path.join(here, os.pardir, os.pardir)
EXTRA_PATHS = ("python/mozversioncontrol",)
EXTRA_PATHS = ("python/mozversioncontrol", "python/mozbuild",)
sys.path[:0] = [os.path.join(topsrcdir, p) for p in EXTRA_PATHS]
from mozversioncontrol import get_repository_object, InvalidRepoPath

View File

@ -11,7 +11,7 @@ import sys
here = os.path.dirname(os.path.realpath(__file__))
topsrcdir = os.path.join(here, os.pardir, os.pardir)
EXTRA_PATHS = ("python/mozversioncontrol",)
EXTRA_PATHS = ("python/mozversioncontrol", "python/mozbuild",)
sys.path[:0] = [os.path.join(topsrcdir, p) for p in EXTRA_PATHS]
from mozversioncontrol import get_repository_object, InvalidRepoPath