summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPolina Dudnik <pdudnik@gmail.com>2009-08-21 15:52:46 -0500
committerPolina Dudnik <pdudnik@gmail.com>2009-08-21 15:52:46 -0500
commita4fc1bad94f028111dcf36ac53c42e5dab79605d (patch)
tree5573cc6c1b9472dd6f21e513de785ab066a2ff2d /util
parentc438b2e431066d9324238e1c678ef68a3b721f33 (diff)
downloadgem5-a4fc1bad94f028111dcf36ac53c42e5dab79605d.tar.xz
[mq]: first_patch
Diffstat (limited to 'util')
-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