util: Fix issues with style checker.
authorNathanael Premillieu <npremill@irisa.fr>
Fri, 27 Jul 2012 20:08:05 +0000 (16:08 -0400)
committerNathanael Premillieu <npremill@irisa.fr>
Fri, 27 Jul 2012 20:08:05 +0000 (16:08 -0400)
util/style.py

index 2c102b14de369dbd79ac3ebe12b47ab6e604c039..f1f64689f1bc141ad124cdf766d285b8c7c945ee 100644 (file)
@@ -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