fix dict
Some checks failed
Build empanada images for imagefactory / buildx (push) Failing after 4s
Build empanada container images for lorax / buildx (push) Successful in 1s

This commit is contained in:
Louis Abel 2024-05-29 17:50:34 -07:00
parent 86787a7347
commit aa9e16070d
Signed by: label
GPG Key ID: 2A6975660E424560

View File

@ -106,7 +106,7 @@ class RepoSync:
self.repo = repo
self.extra_files = rlvars['extra_files']
self.gpgkey = rlvars['gpg_key']
if rlvars['repo_gpg_key']:
if 'repo_gpg_key' in rlvars:
self.gpgkey = rlvars['gpg_key'] + rlvars['repo_gpg_key']
self.checksum = rlvars['checksum']
self.gpg_check = gpg_check
@ -1641,7 +1641,7 @@ class SigRepoSync:
self.sigrepos = sigvars['repo'].keys()
self.extra_files = sigvars['extra_files']
self.gpgkey = rlvars['gpg_key']
if rlvars['repo_gpg_key']:
if 'repo_gpg_key' in rlvars:
self.gpgkey = rlvars['gpg_key'] + rlvars['repo_gpg_key']
#self.arches = sigvars['allowed_arches']
self.project_id = sigvars['project_id']