From a4fc1bad94f028111dcf36ac53c42e5dab79605d Mon Sep 17 00:00:00 2001 From: Polina Dudnik Date: Fri, 21 Aug 2009 15:52:46 -0500 Subject: [mq]: first_patch --- util/style.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util') 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 -- cgit v1.2.3 From 114d8724dd5e6ff82b93b5888fcf8f99f56c0993 Mon Sep 17 00:00:00 2001 From: Polina Dudnik Date: Thu, 17 Sep 2009 17:39:52 -0500 Subject: Functionality migrated to sequencer. --- util/style.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/style.py b/util/style.py index 650c25e78..2c2714f0c 100644 --- a/util/style.py +++ b/util/style.py @@ -72,7 +72,7 @@ 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) -- cgit v1.2.3