From 3edb9fd098fdd09002d60594147ba47790179f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20B=C3=B6gershausen?= Date: Mon, 9 Dec 2019 11:21:05 +0100 Subject: [PATCH] check_fix_white_space.py: Fix whitespace damage --- check_fix_white_space.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_fix_white_space.py b/check_fix_white_space.py index 854e5e2..6597e58 100755 --- a/check_fix_white_space.py +++ b/check_fix_white_space.py @@ -44,7 +44,7 @@ def fix_white_space(debug, fix_files): # Convert all TAB into SPACE new_line = old_line.expandtabs(tabsize=tab_width) if new_line != old_line: - had_TAB = True + had_TAB = True # Strip the CRLF new_line = new_line.rstrip("\r\n") # Strip trailing WS @@ -104,7 +104,7 @@ if __name__ == "__main__": if not fix_files: for file in incorrect_files: message = incorrect_files[file] - print("ERROR: '{}' {}".format(file,message)) + print("ERROR: '{}' {}".format(file,message)) if incorrect_files: print('run %s --fix' % sys.argv[0]) exit(1)