Fix Python lint error by using an f-string (#2886)

This commit is contained in:
Christian Clauss 2023-07-20 15:04:39 +02:00 committed by GitHub
parent c9caa2ecf3
commit 1bfb083f8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1991,11 +1991,8 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)/%%%s FORCE_DO_CMD
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(