diff options
author | Nathan Binkert <nate@binkert.org> | 2007-07-22 09:08:05 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2007-07-22 09:08:05 -0700 |
commit | 78759ad17622e5af7fb4698e77fd33500b3e55b1 (patch) | |
tree | 846f82b56387e2a6200d90f4a91ba2320313f943 /util | |
parent | 03730edc45e2e00bdec58dabc84e94c632634a1a (diff) | |
download | gem5-78759ad17622e5af7fb4698e77fd33500b3e55b1.tar.xz |
fix the style fixing thing
--HG--
extra : convert_revision : 65ffc14e7b78b49df9a67ef0d3521551dd44d1cd
Diffstat (limited to 'util')
-rw-r--r-- | util/style.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/style.py b/util/style.py index 3824cd7f5..47c992755 100644 --- a/util/style.py +++ b/util/style.py @@ -84,7 +84,7 @@ def checkwhite(filename): if not checkwhite_line(line): yield line,num + 1 -def fixwhite_line(line): +def fixwhite_line(line, tabsize): if lead.search(line): newline = '' for i,c in enumerate(line): @@ -117,7 +117,7 @@ def fixwhite(filename, tabsize, fixonly=None): for i,line in enumerate(lines): if fixonly is None or i in fixonly: - line = fixwhite_line(line) + line = fixwhite_line(line, tabsize) print >>f, line, |