mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
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:
parent
fef8423731
commit
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:
|
||||
|
Loading…
Reference in New Issue
Block a user