diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-09-01 09:36:53 -0500 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-09-01 09:36:53 -0500 |
commit | edd522b30a12613946573c0e6c91659949a1f64d (patch) | |
tree | ae399988bb6554a6d3754a7b2e49c8ba4b7d8cd6 /util/style.py | |
parent | 041a8cefc72dd20d99acdd9e1042949f49ab460c (diff) | |
parent | 849bad7ad7c8b483d02b317e7f6ecf0c1292a48d (diff) | |
download | gem5-edd522b30a12613946573c0e6c91659949a1f64d.tar.xz |
Automated merge with ssh://hg@m5sim.org/m5
Diffstat (limited to 'util/style.py')
-rw-r--r-- | util/style.py | 6 |
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 |