[mq]: first_patch
This commit is contained in:
@@ -65,7 +65,7 @@ def whitespace_file(filename):
|
||||
if filename.startswith("SCons"):
|
||||
return True
|
||||
|
||||
return False
|
||||
return True
|
||||
|
||||
format_types = ( 'C', 'C++' )
|
||||
def format_file(filename):
|
||||
@@ -77,11 +77,11 @@ def format_file(filename):
|
||||
def checkwhite_line(line):
|
||||
match = lead.search(line)
|
||||
if match and match.group(1).find('\t') != -1:
|
||||
return False
|
||||
return True
|
||||
|
||||
match = trail.search(line)
|
||||
if match:
|
||||
return False
|
||||
return True
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user