correct dictionary items that are only strings

This commit is contained in:
Louis Abel 2022-11-20 14:11:32 -07:00
parent a9560a5150
commit 6da7363c70
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36

View File

@ -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]