summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Premillieu <npremill@irisa.fr>2012-07-27 16:08:05 -0400
committerNathanael Premillieu <npremill@irisa.fr>2012-07-27 16:08:05 -0400
commitfe2faa1975fb2c03ad7e493489d62ea06767f52f (patch)
tree86970033346a8b23ff6af6a90c412f2b7e7aebc4
parentb1a58933e07d7af0eb5f43942f8ad9bc93f28039 (diff)
downloadgem5-fe2faa1975fb2c03ad7e493489d62ea06767f52f.tar.xz
util: Fix issues with style checker.
-rw-r--r--util/style.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/style.py b/util/style.py
index 2c102b14d..f1f64689f 100644
--- a/util/style.py
+++ b/util/style.py
@@ -78,7 +78,7 @@ def modregions(wctx, fname):
mod_regions &= m2
else:
mod_regions = Regions()
- mod_regions.add(0, len(lines))
+ mod_regions.append(0, len(lines))
return mod_regions