From 57608132e548f74284a1b5276103c17e8a3ad41c Mon Sep 17 00:00:00 2001 From: Lucas Pablo Calisi Date: Fri, 20 Oct 2023 17:29:01 -0300 Subject: [PATCH] fix: error format requires a mapping Signed-off-by: Lucas Pablo Calisi --- pylib/gyp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib/gyp/__init__.py b/pylib/gyp/__init__.py index d6cc0130..d2aa7367 100755 --- a/pylib/gyp/__init__.py +++ b/pylib/gyp/__init__.py @@ -550,7 +550,7 @@ def gyp_main(args): if not build_files: build_files = FindBuildFiles() if not build_files: - raise GypError((usage + "\n\n%s: error: no build_file") % (my_name, my_name)) + raise GypError((usage + "\n\n%(prog)s: error: no build_file") % {"prog": my_name, "prog": my_name}) # TODO(mark): Chromium-specific hack! # For Chromium, the gyp "depth" variable should always be a relative path