From 73d774e0e4eb9ac9100b86a89e66c445c4bfc367 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sun, 20 Nov 2022 11:05:47 -0700 Subject: [PATCH] address stack trace for arches no found for platform --- iso/empanadas/empanadas/util/iso_utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iso/empanadas/empanadas/util/iso_utils.py b/iso/empanadas/empanadas/util/iso_utils.py index 834d2c3..22501b4 100644 --- a/iso/empanadas/empanadas/util/iso_utils.py +++ b/iso/empanadas/empanadas/util/iso_utils.py @@ -1430,6 +1430,10 @@ class IsoBuild: arch ) + if arch not in keysect: + self.log.warn(Color.WARN + 'This architecture (' + arch + ') does not exist for this image.') + continue + source_path = keysect[arch] drop_name = source_path.split('/')[-1]