Skip to content

Commit 81b6d40

Browse files
committed
cmd-sign: fix KeyError when accessing build info
Fixes 476dfc1
1 parent 476dfc1 commit 81b6d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd-sign

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def robosign_ostree(args, s3, build, gpgkey):
112112
builds = Builds()
113113
builddir = builds.get_build_dir(args.build, args.arch)
114114

115-
if build['coreos-assembler.oci-imported']:
115+
if build.get('coreos-assembler.oci-imported', None):
116116
# this is a known gap currently; we just no-op for
117117
# now until we cut over to Konflux and stop using this code; see
118118
# https://github.com/coreos/fedora-coreos-tracker/issues/1986

0 commit comments

Comments
 (0)