make builder code similarly tolerant
This commit is contained in:
parent
899c17cc53
commit
441aad0aef
1 changed files with 1 additions and 1 deletions
|
|
@ -5557,7 +5557,7 @@ class CreaterepoTask(BaseTaskHandler):
|
|||
# generate repo url list, starting with our local premerge repo
|
||||
repos = ['file://' + localdir + '/']
|
||||
for repo in external_repos:
|
||||
if repo['arches'] and arch not in repo['arches'].split():
|
||||
if repo.get('arches') and arch not in repo['arches'].split():
|
||||
# ignore external repo with non-relevant archlist
|
||||
continue
|
||||
ext_url = repo['url']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue