зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1210157 - Add Python 3 support to the mozboot Debian bootstrapper r=firefox-build-system-reviewers,mshal
Add support for Python 3 and Python 2.7 to the Debian-based linux distro bootstrap routines. Differential Revision: https://phabricator.services.mozilla.com/D39361 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
fef8423731
Коммит
6cc808b85a
|
@ -109,8 +109,8 @@ class DebianBootstrapper(NasmInstall, NodeInstall, StyloInstall, ClangStaticAnal
|
|||
self.which('python3.5')])
|
||||
|
||||
if not have_python3:
|
||||
python3_packages = self.check_output([
|
||||
'apt-cache', 'pkgnames', 'python3'])
|
||||
python3_packages = self.check_output(
|
||||
['apt-cache', 'pkgnames', 'python3'], universal_newlines=True)
|
||||
python3_packages = python3_packages.splitlines()
|
||||
|
||||
if 'python3' in python3_packages:
|
||||
|
|
Загрузка…
Ссылка в новой задаче