Skip to content

Commit 986cd6c

Browse files
pcaspersjenkins
authored andcommitted
Revert "QPR-12014 igenore white space differences"
This reverts commit b3a71e51e32315c164509f286f027063d30a74e5.
1 parent b42515d commit 986cd6c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Tools/PythonTools/compare_files.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,8 @@ def compare_files_direct(name, file_1, file_2):
544544
diff = difflib.unified_diff(s1, s2, fromfile=file_1, tofile=file_2)
545545
match = True
546546
for line in diff:
547-
if line.strip():
548-
match = False
549-
logger.warning(line.rstrip('\n'))
547+
match = False
548+
logger.warning(line.rstrip('\n'))
550549

551550
return match
552551

0 commit comments

Comments
 (0)