Skip to content

Commit

Permalink
Fix syntax error in validate_web_idl.py
Browse files Browse the repository at this point in the history
The script is using an undeclared variable "opt_name".

Bug: 1198370
Change-Id: I531aa71d22169d6920e79ca4b425edce20090dea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2957469
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#891935}
  • Loading branch information
Adolf Daniel authored and Chromium LUCI CQ committed Jun 13, 2021
1 parent ef680d5 commit 0cdb186
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -32,7 +32,8 @@ def parse_options():
]
for required_option_name in required_option_names:
if getattr(options, required_option_name) is None:
parser.error("--{} is a required option.".format(opt_name))
parser.error(
"--{} is a required option.".format(required_option_name))

return options, args

Expand Down

0 comments on commit 0cdb186

Please sign in to comment.