fix the style fixing thing
--HG-- extra : convert_revision : 65ffc14e7b78b49df9a67ef0d3521551dd44d1cd
This commit is contained in:
parent
03730edc45
commit
78759ad176
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Reference in a new issue