[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: Michael Lippautz <mlippautz@chromium.org> Auto-Submit: Fabrice de Gans <fdegans@chromium.org> Cr-Commit-Position: refs/heads/main@{#83146}
This commit is contained in:
parent
58f38e5228
commit
002ac4168c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user