Skip to content

Commit 1bfb083

Browse files
authored
Fix Python lint error by using an f-string (#2886)
1 parent c9caa2e commit 1bfb083

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

gyp/pylib/gyp/generator/make.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1991,11 +1991,8 @@ def WriteTarget(
19911991
and "product_dir" not in spec
19921992
and self.toolset == "target"
19931993
):
1994-
# On mac, products are created in install_path immediately.
1995-
assert install_path == self.output, "{} != {}".format(
1996-
install_path,
1997-
self.output,
1998-
)
1994+
# On macOS, products are created in install_path immediately.
1995+
assert install_path == self.output, f"{install_path} != {self.output}"
19991996

20001997
# Point the target alias to the final binary output.
20011998
self.WriteMakeRule(

0 commit comments

Comments
 (0)