mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Make Python 3 default on Windows
Users can still set GCLIENT_PY3=0 to use Python 2. R=ehmaldonado@chromium.org Change-Id: Ic7657a091bfe3b9c426ab36063b106aadf2d1c84 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2161266 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
@@ -19,6 +19,6 @@ IF "%GCLIENT_PY3%" == "1" (
|
||||
:: Explicitly run on Python 2
|
||||
call vpython "%~dp0\fetch.py" %*
|
||||
) ELSE (
|
||||
:: Run on Python 2, allows default to be flipped.
|
||||
call vpython "%~dp0\fetch.py" %*
|
||||
:: Run on Python 3, allows default to be flipped.
|
||||
call vpython3 "%~dp0\fetch.py" %*
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user