From 78759ad17622e5af7fb4698e77fd33500b3e55b1 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sun, 22 Jul 2007 09:08:05 -0700 Subject: [PATCH] fix the style fixing thing --HG-- extra : convert_revision : 65ffc14e7b78b49df9a67ef0d3521551dd44d1cd --- util/style.py | 4 ++-- 1 file 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, -- 2.30.2