summaryrefslogtreecommitdiff
path: root/util/style.py
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-09-10 22:02:13 -0500
committerDerek Hower <drh5@cs.wisc.edu>2009-09-10 22:02:13 -0500
commit1e40ee4ea081908782dd7ba159b9f680d933855c (patch)
tree86ea0a84a133b237eb1cd4c0f790765ae08905fb /util/style.py
parentca0e0c368357f1e31b69c92ada4e3021b84d5560 (diff)
parent0637fe0bfd626711b2535cbdf5c40ba67fa7cdfe (diff)
downloadgem5-1e40ee4ea081908782dd7ba159b9f680d933855c.tar.xz
Automated merge with ssh://hg@m5sim.org/m5
Diffstat (limited to 'util/style.py')
-rw-r--r--util/style.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/style.py b/util/style.py
index 461573941..650c25e78 100644
--- a/util/style.py
+++ b/util/style.py
@@ -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