Adjust text in doublette comment in src/pslint.py

This commit is contained in:
Tim Rühsen 2016-02-02 22:49:02 +01:00
parent a46af675b4
commit aa028e606b
1 changed files with 5 additions and 6 deletions

View File

@ -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