Skip to content

Commit ff4303e

Browse files
committed
Fix three bugs in one error message...
1 parent 99df130 commit ff4303e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ymmsl/v0_2/configuration.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,11 +492,12 @@ def _check_consistent_settings(
492492
component, path, name, sup_set.typ, impl))
493493

494494
if len(errs) > 7:
495-
errs = errs[:6]
496495
n = len(errs) - 6
496+
errs = errs[:6]
497497
errs.append(
498-
f'Another {n} inconsistent settings were found. Is "{impl}"'
499-
' the correct implementation for component "{component.name}"?')
498+
f'Another {n} inconsistent settings were found. Is'
499+
f' "{impl.name}" the correct implementation for component'
500+
f' "{component.name}"?')
500501

501502
errors.extend(errs)
502503

0 commit comments

Comments
 (0)