Skip to content

Commit af279d8

Browse files
pcaspersjenkins
authored andcommitted
QPR-12014 fix comparison
1 parent 4d1ab31 commit af279d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tools/PythonTools/compare_files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,11 +555,11 @@ def compare_files_direct(name, file_1, file_2):
555555
def compare_files_xml(name, file_1, file_2):
556556
logger = logging.getLogger(__name__)
557557
logger.debug('%s: Comparing file %s against %s using xml diff', name, file_1, file_2)
558-
diff = main.diff_files(file_1, file_2, formatter=formatting.XMLFormatter())
558+
diff = main.diff_files(file_1, file_2)
559559
match = True
560560
for line in diff:
561561
match = False
562-
logger.warning(line.rstrip('\n'))
562+
logger.warning(line)
563563
return match
564564

565565
def compare_files_json(name, file_1, file_2, config) -> bool:

0 commit comments

Comments
 (0)