mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-10 17:30:11 +01:00
Show \r when diffing reproducible apk
This commit is contained in:
parent
143639b8df
commit
afc31e115e
@ -3854,7 +3854,7 @@ def compare_apks(apk1, apk2, tmp_dir, log_dir=None):
|
||||
if len(lines) != 1 or 'META-INF' not in lines[0]:
|
||||
if set_command_in_config('meld'):
|
||||
p = FDroidPopen([config['meld'], apk1dir, apk2dir], output=False)
|
||||
return "Unexpected diff output:\n" + p.output
|
||||
return "Unexpected diff output:\n" + p.output.replace("\r", "^M")
|
||||
|
||||
# since everything verifies, delete the comparison to keep cruft down
|
||||
shutil.rmtree(apk1dir)
|
||||
|
Loading…
Reference in New Issue
Block a user