From 0728625afdd7a7eb694183aa253dc7b8fac65d2e Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 25 Oct 2014 23:00:04 +0200 Subject: [PATCH] add consistency name in error if consistency not exists --- tiramisu/option/baseoption.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiramisu/option/baseoption.py b/tiramisu/option/baseoption.py index 2a161e0..658b061 100644 --- a/tiramisu/option/baseoption.py +++ b/tiramisu/option/baseoption.py @@ -659,7 +659,7 @@ class Option(OnlyOption): 'multi or none')) func = '_cons_{0}'.format(func) if func not in dir(self): - raise ConfigError(_('consistency {0} not available for this option')) + raise ConfigError(_('consistency {0} not available for this option').format(func)) all_cons_opts = tuple([self] + list(other_opts)) value = self.impl_getdefault() if value is not None: