From c9e166f1d43fd44688d31dd4d09b61a6adee1717 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 21 Nov 2020 19:26:50 +0100 Subject: [PATCH] better error message --- tiramisu/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tiramisu/config.py b/tiramisu/config.py index d80b4bf..399eeee 100644 --- a/tiramisu/config.py +++ b/tiramisu/config.py @@ -1267,8 +1267,9 @@ class KernelMixConfig(KernelGroupConfig): apiconfig): config = apiconfig._config_bag.context if config.impl_getname() in [child.impl_getname() for child in self._impl_children]: - raise ConflictError(_('config name must be uniq in ' - 'groupconfig for {0}').format(config.impl_getname())) + raise ConflictError(_('config name "{0}" is not uniq in ' + 'groupconfig "{1}"').format(config.impl_getname(), + self.impl_getname())) config.parents.append(weakref.ref(self)) self._impl_children.append(config)