projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd5a7f7
)
Style checker: Fix a couple bugs in style.py.
author
Gabe Black
<gblack@eecs.umich.edu>
Thu, 13 Jan 2011 20:30:18 +0000
(12:30 -0800)
committer
Gabe Black
<gblack@eecs.umich.edu>
Thu, 13 Jan 2011 20:30:18 +0000
(12:30 -0800)
util/style.py
patch
|
blob
|
history
diff --git
a/util/style.py
b/util/style.py
index 1018e813cd0981b1068c2751c80daae682cb42a0..1307f87286927b74d2c3953acb8ba1112ea0040c 100644
(file)
--- a/
util/style.py
+++ b/
util/style.py
@@
-103,7
+103,7
@@
def fixwhite(filename, fixonly=None):
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
@@
def do_check_style(ui, repo, *files, **args):
fixonly.add(i)
if fixonly:
- if prompt(fname, fixonly):
+ if prompt(fname, fix
white, fix
only):
return True
def do_check_format(ui, repo, **args):