Merge pull request #2272 from FireHost/fix_file_diff

Fix the diff orientation for check_file_meta
This commit is contained in:
Thomas S Hatch 2012-10-17 21:11:32 -07:00
commit 8df6e8022f

View File

@ -1083,7 +1083,7 @@ def check_file_meta(
slines = src.readlines()
nlines = name_.readlines()
changes['diff'] = (
''.join(difflib.unified_diff(slines, nlines))
''.join(difflib.unified_diff(nlines, slines))
)
else:
changes['sum'] = 'Checksum differs'