Style: Make style.py's invalid warning print which file caused the infraction.
This commit is contained in:
parent
579047c76d
commit
234fd1c4d8
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class SortedIncludes(Verifier):
|
||||||
modified = mod & regions
|
modified = mod & regions
|
||||||
|
|
||||||
if modified:
|
if modified:
|
||||||
self.write("invalid sorting of includes\n")
|
self.write("invalid sorting of includes in %s\n" % (filename))
|
||||||
if self.ui.verbose:
|
if self.ui.verbose:
|
||||||
for start, end in modified.regions:
|
for start, end in modified.regions:
|
||||||
self.write("bad region [%d, %d)\n" % (start, end))
|
self.write("bad region [%d, %d)\n" % (start, end))
|
||||||
|
|
Loading…
Reference in a new issue