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:
surajeet310 2021-07-14 16:33:46 +00:00
Родитель 40a0e20486
Коммит 1903d302ab
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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()