mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Revert "Reland "depot_tools: Move six to depot_tools' .vpython""
This reverts commitd52b306f84. Reason for revert: Broke ANGLE CQ with "ImportError: No module named six" Example: https://ci.chromium.org/p/angle/builders/try/mac-dbg/6758 Original change's description: > Reland "depot_tools: Move six to depot_tools' .vpython" > > This is a reland of3a98df0bdd> > Original change's description: > > depot_tools: Move six to depot_tools' .vpython > > > > Bug: 984182 > > Change-Id: I34a242c8607624beb0f06a27c563e413dec99790 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1717492 > > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> > > Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> > > Reviewed-by: Robbie Iannucci <iannucci@chromium.org> > > Reviewed-by: Michael Moss <mmoss@chromium.org> > > Bug: 984182 > Change-Id: Ibf7034201e65a18f833cf1e7432f81a903a99aae > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1732880 > Reviewed-by: Robbie Iannucci <iannucci@chromium.org> > Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> TBR=iannucci@chromium.org,mmoss@chromium.org,tandrii@chromium.org,ehmaldonado@chromium.org Change-Id: Id4488249b607441df9f00aa51f4a1f2bc4ad5cfd No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 984182 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1739582 Reviewed-by: Kenneth Russell <kbr@chromium.org> Commit-Queue: Kenneth Russell <kbr@chromium.org>
This commit is contained in:
committed by
Commit Bot
parent
3ff0e5dfaf
commit
f994d87e56
@@ -47,9 +47,9 @@ SCRIPT="${SCRIPT-${BASENAME//-/_}.py}"
|
||||
if [[ $PYTHON_DIRECT = 1 ]]; then
|
||||
python.exe "$DEPOT_TOOLS\\$SCRIPT" "$@"
|
||||
else
|
||||
if [ $OSTYPE = msys ]; then
|
||||
PYTHONDONTWRITEBYTECODE=1 vpython "$DEPOT_TOOLS\\$SCRIPT" "$@"
|
||||
if [[ -e "$DEPOT_TOOLS/python.bat" && $OSTYPE = msys ]]; then
|
||||
cmd.exe //c "$DEPOT_TOOLS\\python.bat" "$DEPOT_TOOLS\\$SCRIPT" "$@"
|
||||
else
|
||||
PYTHONDONTWRITEBYTECODE=1 exec "$DEPOT_TOOLS/$SCRIPT" "$@"
|
||||
exec "$DEPOT_TOOLS/$SCRIPT" "$@"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user