From a83925b8aca6d379a0970895f798fce2628ed787 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Mon, 28 Aug 2023 10:40:53 +1200 Subject: [PATCH] update-source-catalog: Fix case where a variaton does not point at the base layer (i.e. most builds) (LP: #2033168) --- debian/changelog | 7 +++++++ update-source-catalog | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 67e73b29..7517ebec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (23.10.24) UNRELEASED; urgency=medium + + * update-source-catalog: Fix case where a variaton does not point at the + base layer (i.e. most builds) (LP: #2033168) + + -- Michael Hudson-Doyle Mon, 28 Aug 2023 10:39:52 +1200 + livecd-rootfs (23.10.23) mantic; urgency=medium * i386 foreign-arch support was added for the canary image before 23.04 diff --git a/update-source-catalog b/update-source-catalog index 158f412e..6de025de 100755 --- a/update-source-catalog +++ b/update-source-catalog @@ -44,7 +44,7 @@ for entry in output: else: # No entry with this id found, so add a new one. - if template['variations']: + if 'variations' in template: for variation in template['variations'].values(): if variation['path'] == opts.squashfs: variation['size'] = int(opts.size)