From 6da7363c70f9cff781869dec667a06cb58e7b327 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sun, 20 Nov 2022 14:11:32 -0700 Subject: [PATCH] correct dictionary items that are only strings --- iso/empanadas/empanadas/util/iso_utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iso/empanadas/empanadas/util/iso_utils.py b/iso/empanadas/empanadas/util/iso_utils.py index bd9902d..a27634c 100644 --- a/iso/empanadas/empanadas/util/iso_utils.py +++ b/iso/empanadas/empanadas/util/iso_utils.py @@ -1423,6 +1423,9 @@ class IsoBuild: if not keysect: continue + if type(keysect) == str: + continue + self.log.info(Color.INFO + 'Attempting to download requested ' + 'artifacts (' + keyname + ')') @@ -1433,7 +1436,7 @@ class IsoBuild: ) if arch not in keysect: - self.log.warn(Color.WARN + 'This architecture (' + arch + ') does not exist for this image.') + self.log.warn(Color.WARN + 'This architecture (' + arch + ', ' + keysect + ') does not exist for this image.') continue source_path = keysect[arch]