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 authored and lukekarrys committed Oct 27, 2023
1 parent fd77b34 commit c067d2c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions gyp/pylib/gyp/generator/make.py
Original file line number Diff line number Diff line change
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 c067d2c

Please sign in to comment.