mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[lit] Try errors="ignore" for decode introduced by r374665
Still trying to fix the same error as in r374666. llvm-svn: 374671
This commit is contained in:
parent
ab2284f8a9
commit
46a7c0b0c5
@ -97,7 +97,7 @@ def compareTwoTextFiles(flags, filepaths, filelines_bin, encoding):
|
||||
n = flags.num_context_lines):
|
||||
if hasattr(diff, 'decode'):
|
||||
# python 2.7
|
||||
diff = diff.decode(errors="backslashreplace")
|
||||
diff = diff.decode(errors="ignore")
|
||||
sys.stdout.write(diff)
|
||||
exitCode = 1
|
||||
return exitCode
|
||||
|
Loading…
Reference in New Issue
Block a user