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)