From ac0867545d4cb05e6f3b15758e06ba3a6bad91b7 Mon Sep 17 00:00:00 2001 From: Yuriy Kohut Date: Fri, 23 Aug 2024 18:38:52 +0300 Subject: [PATCH] Fix "_get_path_to_gpg_certs is not defined" issue (in resolution of cherry-picking caff3acea4f74a134a9f2f5714c08c8bf7b596f5) --- .../actors/missinggpgkeysinhibitor/libraries/missinggpgkey.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/system_upgrade/common/actors/missinggpgkeysinhibitor/libraries/missinggpgkey.py b/repos/system_upgrade/common/actors/missinggpgkeysinhibitor/libraries/missinggpgkey.py index 48633a3ed8..1e595e9a1d 100644 --- a/repos/system_upgrade/common/actors/missinggpgkeysinhibitor/libraries/missinggpgkey.py +++ b/repos/system_upgrade/common/actors/missinggpgkeysinhibitor/libraries/missinggpgkey.py @@ -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: @@ -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)