mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Revert r374666: "[lit] Adjust error handling for decode introduced by r374665"
This series of patches still breaks a Windows bot. llvm-svn: 374676
This commit is contained in:
parent
b9ce1e9b61
commit
56234906c5
@ -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()
|
||||
sys.stdout.write(diff)
|
||||
exitCode = 1
|
||||
return exitCode
|
||||
|
Loading…
Reference in New Issue
Block a user