[mq]: first_patch

This commit is contained in:
Polina Dudnik
2009-08-21 15:52:46 -05:00
parent c438b2e431
commit a4fc1bad94
8 changed files with 68 additions and 26 deletions

View File

@@ -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