]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Fix missing format string specifiers 890/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 21 Jan 2022 12:12:54 +0000 (12:12 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 21 Jan 2022 12:12:54 +0000 (12:12 +0000)
mkosi/__init__.py

index 8e7ec3e4a021759f51a34930fad6f6a065209212..f5d03103a6ac1f4302ccbe09099c3c69adccdcf4 100644 (file)
@@ -6441,9 +6441,9 @@ def load_args(args: argparse.Namespace) -> MkosiArgs:
         if args.output_format in (OutputFormat.tar, OutputFormat.cpio):
             die(f"Sorry, can't {opname} with a {args.output_format} archive.")
         if should_compress_output(args):
-            die("Sorry, can't {opname} with a compressed image.")
+            die(f"Sorry, can't {opname} with a compressed image.")
         if args.qcow2:
-            die("Sorry, can't {opname} using a qcow2 image.")
+            die(f"Sorry, can't {opname} using a qcow2 image.")
 
     if args.verb == "qemu":
         if not args.output_format.is_disk():