Skip to content

Commit

Permalink
Fix "_get_path_to_gpg_certs is not defined" issue
Browse files Browse the repository at this point in the history
(in resolution of cherry-picking caff3ac)
  • Loading branch information
yuravk committed Aug 23, 2024
1 parent 2df1167 commit ac08675
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _report(title, summary, keys, inhibitor=False):
' prior the upgrade.'
' If you want to proceed the in-place upgrade without checking any RPM'
' signatures, execute leapp with the `--nogpgcheck` option.'
.format(','.format(_get_path_to_gpg_certs()))
.format(','.format(get_path_to_gpg_certs()))
)
groups = [reporting.Groups.REPOSITORY]
if inhibitor:
Expand Down Expand Up @@ -188,7 +188,7 @@ def _report_missing_keys(keys):
summary = (
'Some of the target repositories require GPG keys that are not installed'
' in the current RPM DB or are not stored in the {trust_dir} directory.'
.format(trust_dir=','.join(_get_path_to_gpg_certs()))
.format(trust_dir=','.join(get_path_to_gpg_certs()))
)
_report('Detected unknown GPG keys for target system repositories', summary, keys, True)

Expand Down

0 comments on commit ac08675

Please sign in to comment.