changeset 7107a2f3e53a in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=7107a2f3e53a
description:
        Style checker: Fix a couple bugs in style.py.

diffstat:

 util/style.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r c6bc8fe81e79 -r 7107a2f3e53a util/style.py
--- a/util/style.py     Wed Jan 12 11:52:29 2011 -0500
+++ b/util/style.py     Thu Jan 13 12:30:18 2011 -0800
@@ -103,7 +103,7 @@
 
     for i,line in enumerate(lines):
         if fixonly is None or i in fixonly:
-            line = fixwhite_line(line, tabsize)
+            line = fixwhite_line(line)
 
         print >>f, line,
 
@@ -309,7 +309,7 @@
             fixonly.add(i)
 
         if fixonly:
-            if prompt(fname, fixonly):
+            if prompt(fname, fixwhite, fixonly):
                 return True
 
 def do_check_format(ui, repo, **args):
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to