зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1277087 - Always add in-tree search paths when bootstrapping mach. r=gps
This commit is contained in:
Родитель
79e124f382
Коммит
49fc9b5422
|
@ -233,11 +233,8 @@ def bootstrap(topsrcdir, mozilla_dir=None):
|
|||
# case. For default behavior, we educate users and give them an opportunity
|
||||
# to react. We always exit after creating the directory because users don't
|
||||
# like surprises.
|
||||
try:
|
||||
import mach.main
|
||||
except ImportError:
|
||||
sys.path[0:0] = [os.path.join(mozilla_dir, path) for path in SEARCH_PATHS]
|
||||
import mach.main
|
||||
sys.path[0:0] = [os.path.join(mozilla_dir, path) for path in SEARCH_PATHS]
|
||||
import mach.main
|
||||
|
||||
def telemetry_handler(context, data):
|
||||
# We have not opted-in to telemetry
|
||||
|
|
Загрузка…
Ссылка в новой задаче