Commit f0df9b60 authored by Leszek Swirski's avatar Leszek Swirski Committed by Commit Bot

[gcmole] Python conversion followup

Fix the python call to sys.executable, and sort imports

Change-Id: I948291e0835c79445108f215e55885fdb2c01052
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2560592
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71423}
parent e82a3b4d
......@@ -9,13 +9,13 @@
# for py2/py3 compatibility
from __future__ import print_function
import sys
import collections
import difflib
import multiprocessing
import os
import re
import difflib
import subprocess
import multiprocessing
import collections
import sys
ArchCfg = collections.namedtuple("ArchCfg",
["triple", "arch_define", "arch_options"])
......
......@@ -26,7 +26,7 @@ if not os.path.isfile("out/build/gen/torque-generated/builtin-definitions.h"):
sys.exit(-1)
proc = subprocess.Popen(
["python", DRIVER] + sys.argv[1:],
[sys.executable, DRIVER] + sys.argv[1:],
env={'CLANG_BIN': CLANG_BIN, 'CLANG_PLUGINS': CLANG_PLUGINS},
cwd=BASE_PATH,
)
......
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