Skip to content

Commit

Permalink
fix dict
Browse files Browse the repository at this point in the history
  • Loading branch information
nazunalika committed May 30, 2024
1 parent 86787a7 commit aa9e160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iso/empanadas/empanadas/util/dnf_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def __init__(
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
Expand Down Expand Up @@ -1641,7 +1641,7 @@ def __init__(
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']
Expand Down

0 comments on commit aa9e160

Please sign in to comment.