From: Clark Williams williams@redhat.com
redhat: fix python ValueError in error path of merge.py
Fix a syntax error in f-strings passed to usage() when checking for missing input files.
Signed-off-by: Clark Williams williams@redhat.com
diff --git a/redhat/configs/merge.py b/redhat/configs/merge.py index blahblah..blahblah 100755 --- a/redhat/configs/merge.py +++ b/redhat/configs/merge.py @@ -51,10 +51,10 @@ override_file = sys.argv[1] baseconfig_file = sys.argv[2]
if not os.path.exists(override_file): - usage(f"overrides config file {override_file: s} does not exist!") + usage(f"overrides config file {override_file:s} does not exist!")
if not os.path.exists(baseconfig_file): - usage(f"base configs file {baseconfig_file: s} does not exist") + usage(f"base configs file {baseconfig_file:s} does not exist")
if len(sys.argv) == 4: print(f"# {sys.argv[3]:s}")
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2406
kernel@lists.fedoraproject.org