From ff4303e193bda151ccf6aa0edb8a7b2e66dac0ee Mon Sep 17 00:00:00 2001 From: Lourens Veen Date: Sat, 30 May 2026 20:36:45 +0200 Subject: [PATCH] Fix three bugs in one error message... --- ymmsl/v0_2/configuration.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ymmsl/v0_2/configuration.py b/ymmsl/v0_2/configuration.py index c8678fd..87ca6c3 100644 --- a/ymmsl/v0_2/configuration.py +++ b/ymmsl/v0_2/configuration.py @@ -492,11 +492,12 @@ def _check_consistent_settings( component, path, name, sup_set.typ, impl)) if len(errs) > 7: - errs = errs[:6] n = len(errs) - 6 + errs = errs[:6] errs.append( - f'Another {n} inconsistent settings were found. Is "{impl}"' - ' the correct implementation for component "{component.name}"?') + f'Another {n} inconsistent settings were found. Is' + f' "{impl.name}" the correct implementation for component' + f' "{component.name}"?') errors.extend(errs)