Skip to content

Commit

Permalink
Bug 1592855 - run mach vendor python with python3 r=ahal
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwin Takahashi committed Nov 5, 2019
1 parent 32f0fd8 commit d1fc841
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion mach
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ py2commands="
tps-build
try
valgrind-test
vendor
visualmetrics
warnings-list
warnings-summary
Expand Down
2 changes: 1 addition & 1 deletion python/mozbuild/mozbuild/vendor_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def vendor(self, packages=None, with_windows_wheel=False):
if with_windows_wheel:
# This is hardcoded to CPython 2.7 for win64, which is good
# enough for what we need currently. If we need psutil for Python 3
# in the future that coudl be added here as well.
# in the future that could be added here as well.
self.virtualenv_manager._run_pip([
'download',
'--dest', tmp,
Expand Down
2 changes: 1 addition & 1 deletion python/mozversioncontrol/mozversioncontrol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def get_outgoing_files(self, diff_filter='ADM', upstream='default'):

def add_remove_files(self, path):
args = ['addremove', path]
if self.tool_version >= b'3.9':
if self.tool_version >= str('3.9'):
args = ['--config', 'extensions.automv='] + args
self._run(*args)

Expand Down

0 comments on commit d1fc841

Please sign in to comment.