Commit 69135d1e authored by Erik Staab's avatar Erik Staab Committed by LUCI CQ

Add python3_executable to the PRESUBMIT API.

Change-Id: I1706bc696590215f304dcc16f08ecb6afe1144fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2897933Reviewed-by: 's avatarDirk Pranke <dpranke@google.com>
Commit-Queue: Erik Staab <estaab@chromium.org>
parent f7dcbfee
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment