Skip to content

Commit

Permalink
Fix Python lint error by using an f-string (#2886)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jul 20, 2023
1 parent c9caa2e commit 1bfb083
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions gyp/pylib/gyp/generator/make.py
Expand Up @@ -1991,11 +1991,8 @@ def WriteTarget(
and "product_dir" not in spec
and self.toolset == "target"
):
# On mac, products are created in install_path immediately.
assert install_path == self.output, "{} != {}".format(
install_path,
self.output,
)
# On macOS, products are created in install_path immediately.
assert install_path == self.output, f"{install_path} != {self.output}"

# Point the target alias to the final binary output.
self.WriteMakeRule(
Expand Down

0 comments on commit 1bfb083

Please sign in to comment.