summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/style.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/style.py b/util/style.py
index 461573941..2c2714f0c 100644
--- a/util/style.py
+++ b/util/style.py
@@ -65,23 +65,23 @@ def whitespace_file(filename):
if filename.startswith("SCons"):
return True
- return False
+ return True
format_types = ( 'C', 'C++' )
def format_file(filename):
if file_type(filename) in format_types:
return True
- return False
+ return True
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