[fetch] use py3 for fetch

Bug: 939847
Change-Id: I8c73328363a9ffe506db6ed4e46c72ccad238c3a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1845499
Commit-Queue: Anthony Polito <apolito@google.com>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
Anthony Polito
2019-10-21 21:50:21 +00:00
committed by Commit Bot
parent 62b68fec1b
commit 75c59424e3
2 changed files with 10 additions and 2 deletions

View File

@@ -12,4 +12,8 @@ call "%~dp0\update_depot_tools.bat"
set PATH=%PATH%;%~dp0
:: Defer control.
vpython "%~dp0\fetch.py" %*
IF "%GCLIENT_PY3%" == "1" (
vpython3 "%~dp0\fetch.py" %*y
) ELSE (
vpython "%~dp0\fetch.py" %*
)