Fix sync-openpgp-key-path to be correctly inherited from system
repos.conf and preserved in repo dumps.

Bug: https://bugs.gentoo.org/646314
---
 pym/portage/repository/config.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index a71047d9b..52f44d526 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -522,6 +522,7 @@ class RepoConfigLoader(object):
                                                        'clone_depth', 
'eclass_overrides',
                                                        'force', 'masters', 
'priority', 'strict_misc_digests',
                                                        'sync_depth', 
'sync_hooks_only_on_change',
+                                                       'sync_openpgp_key_path',
                                                        'sync_type', 
'sync_umask', 'sync_uri', 'sync_user',
                                                        
'module_specific_options'):
                                                        v = 
getattr(repos_conf_opts, k, None)
@@ -944,7 +945,7 @@ class RepoConfigLoader(object):
        def config_string(self):
                bool_keys = ("strict_misc_digests",)
                str_or_int_keys = ("auto_sync", "clone_depth", "format", 
"location",
-                       "main_repo", "priority", "sync_depth",
+                       "main_repo", "priority", "sync_depth", 
"sync_openpgp_key_path",
                        "sync_type", "sync_umask", "sync_uri", 'sync_user')
                str_tuple_keys = ("aliases", "eclass_overrides", "force")
                repo_config_tuple_keys = ("masters",)
-- 
2.16.1


Reply via email to