зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1717651 - Removed instances of 'ensure_subprocess_env' from python/mozperftest r=mhentges
Since Python 2 is no longer used in python/mozperftest, hence 'ensure_subprocess_env' is obsolete. Differential Revision: https://phabricator.services.mozilla.com/D119898
This commit is contained in:
Родитель
40a0e20486
Коммит
1903d302ab
|
@ -9,7 +9,6 @@ import json
|
|||
|
||||
from mozterm import Terminal
|
||||
from mozboot.util import get_state_dir
|
||||
from mozbuild.util import ensure_subprocess_env
|
||||
from distutils.spawn import find_executable
|
||||
|
||||
|
||||
|
@ -45,7 +44,7 @@ def run_fzf(cmd, tasks):
|
|||
cmd,
|
||||
stdout=subprocess.PIPE,
|
||||
stdin=subprocess.PIPE,
|
||||
env=ensure_subprocess_env(env),
|
||||
env=env,
|
||||
universal_newlines=True,
|
||||
)
|
||||
out = proc.communicate("\n".join(tasks))[0].splitlines()
|
||||
|
|
Загрузка…
Ссылка в новой задаче