Adjust text in doublette comment in src/pslint.py
This commit is contained in:
parent
a46af675b4
commit
aa028e606b
|
@ -147,15 +147,14 @@ def lint_psl(infile):
|
||||||
error('Illegal character')
|
error('Illegal character')
|
||||||
break
|
break
|
||||||
|
|
||||||
if line in line2number:
|
if line in line2flag:
|
||||||
"""Found existing entry:
|
"""Found existing entry:
|
||||||
Combination of exception and plain rule is ambiguous
|
Combination of exception and plain rule is contradictionary
|
||||||
!foo.bar
|
!foo.bar + foo.bar
|
||||||
foo.bar
|
Doublette, since *.foo.bar implies foo.bar:
|
||||||
|
foo.bar + *.foo.bar
|
||||||
Allowed:
|
Allowed:
|
||||||
!foo.bar + *.foo.bar
|
!foo.bar + *.foo.bar
|
||||||
foo.bar + *.foo.bar
|
|
||||||
"""
|
"""
|
||||||
error('Found doublette/ambiguity (previous line was %d)' % line2number[line])
|
error('Found doublette/ambiguity (previous line was %d)' % line2number[line])
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue