Add python3_executable to the PRESUBMIT API.

Change-Id: I1706bc696590215f304dcc16f08ecb6afe1144fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2897933
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Erik Staab <estaab@chromium.org>
changes/33/2897933/2
Erik Staab 4 years ago committed by LUCI CQ
parent f7dcbfee0a
commit 69135d1e32

@ -643,6 +643,8 @@ class InputApi(object):
# repos (e.g. src.git) to automatically pick up that repo's .vpython file,
# instead of inheriting the one in depot_tools.
self.python_executable = 'vpython'
# Offer a python 3 executable for use during the migration off of python 2.
self.python3_executable = 'vpython3'
self.environ = os.environ
# InputApi.platform is the platform you're currently running on.

Loading…
Cancel
Save