prefix metaconfig_prefix with current name

This commit is contained in:
Emmanuel Garette 2019-08-26 17:04:46 +02:00
parent c15dac8093
commit 4321bde399
2 changed files with 3 additions and 3 deletions

View file

@ -45,4 +45,4 @@ allfuncs.extend(all_options)
del(all_options)
__all__ = tuple(allfuncs)
del(allfuncs)
__version__ = "3.0rc12"
__version__ = "3.0rc13"

View file

@ -692,8 +692,8 @@ class _CommonConfig(SubConfig):
child.parents.append(weakref.ref(duplicated_config))
if self.parents:
if deep:
if metaconfig_prefix is not None and self._impl_path is not None:
metaconfig_prefix += self._impl_path
if metaconfig_prefix is not None:
metaconfig_prefix += self.impl_getname()
for parent in self.parents:
duplicated_config = parent().duplicate(deep=deep,
storage=storage,