From: Matt Evans Date: Fri, 29 Jun 2012 15:19:06 +0000 (-0400) Subject: Style: Make style.py's invalid warning print which file caused the infraction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=234fd1c4d8822169b3cfc7beaeff79ad8e471f5c;p=gem5.git Style: Make style.py's invalid warning print which file caused the infraction. --- diff --git a/util/style.py b/util/style.py index 498bdf530..2c102b14d 100644 --- a/util/style.py +++ b/util/style.py @@ -244,7 +244,7 @@ class SortedIncludes(Verifier): modified = mod & regions if modified: - self.write("invalid sorting of includes\n") + self.write("invalid sorting of includes in %s\n" % (filename)) if self.ui.verbose: for start, end in modified.regions: self.write("bad region [%d, %d)\n" % (start, end))