Commit 002ac416 authored by Fabrice de Gans's avatar Fabrice de Gans Committed by V8 LUCI CQ

[code-health] Fix remaining flake8 issue in v8

Bug: v8:8594
Change-Id: I398678bb92105dc99882e4a253d0c6235628952f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3892178
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Auto-Submit: Fabrice de Gans <fdegans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83146}
parent 58f38e52
......@@ -52,7 +52,7 @@ def PrepareBuildDir(arch, mode):
build_ninja = os.path.join(build_dir, "build.ninja")
if not os.path.exists(build_ninja):
code = _Call("gn gen %s" % build_dir)
if code != 0: raise Error("gn gen failed")
if code != 0: raise Exception("gn gen failed")
else:
_Call("ninja -C %s build.ninja" % build_dir)
return build_dir
......
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