From 4321bde399600c6e2c9317ba455ac158dde701fc Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Mon, 26 Aug 2019 17:04:46 +0200 Subject: [PATCH] prefix metaconfig_prefix with current name --- tiramisu/__init__.py | 2 +- tiramisu/config.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tiramisu/__init__.py b/tiramisu/__init__.py index d317aa4..a83f3fc 100644 --- a/tiramisu/__init__.py +++ b/tiramisu/__init__.py @@ -45,4 +45,4 @@ allfuncs.extend(all_options) del(all_options) __all__ = tuple(allfuncs) del(allfuncs) -__version__ = "3.0rc12" +__version__ = "3.0rc13" diff --git a/tiramisu/config.py b/tiramisu/config.py index 7943abc..270df47 100644 --- a/tiramisu/config.py +++ b/tiramisu/config.py @@ -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,