From 1b21c9d32390f82b8b44524434cfb77082ebc45c Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Fri, 15 Aug 2025 12:37:06 -0400 Subject: [PATCH] cmd-sign: fix KeyError when accessing build info Fixes 476dfc1 --- src/cmd-sign | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd-sign b/src/cmd-sign index 1b26c5a1d1..426c98a475 100755 --- a/src/cmd-sign +++ b/src/cmd-sign @@ -112,7 +112,7 @@ def robosign_ostree(args, s3, build, gpgkey): builds = Builds() builddir = builds.get_build_dir(args.build, args.arch) - if build['coreos-assembler.oci-imported']: + if build.get('coreos-assembler.oci-imported', None): # this is a known gap currently; we just no-op for # now until we cut over to Konflux and stop using this code; see # https://github.com/coreos/fedora-coreos-tracker/issues/1986