forked from sig_core/toolkit
correct dictionary items that are only strings
This commit is contained in:
parent
a9560a5150
commit
6da7363c70
@ -1423,6 +1423,9 @@ class IsoBuild:
|
|||||||
if not keysect:
|
if not keysect:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if type(keysect) == str:
|
||||||
|
continue
|
||||||
|
|
||||||
self.log.info(Color.INFO + 'Attempting to download requested ' +
|
self.log.info(Color.INFO + 'Attempting to download requested ' +
|
||||||
'artifacts (' + keyname + ')')
|
'artifacts (' + keyname + ')')
|
||||||
|
|
||||||
@ -1433,7 +1436,7 @@ class IsoBuild:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if arch not in keysect:
|
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
|
continue
|
||||||
|
|
||||||
source_path = keysect[arch]
|
source_path = keysect[arch]
|
||||||
|
Loading…
Reference in New Issue
Block a user