diff options
author | Michael Lumish <mlumish@google.com> | 2016-02-26 13:23:40 -0800 |
---|---|---|
committer | Michael Lumish <mlumish@google.com> | 2016-02-26 13:23:40 -0800 |
commit | 8d7c99353bbe2ca368bdfe2a4d114ee091cd7afa (patch) | |
tree | fd22cad51009b852c565d2b3adcd5292779683b1 /tools | |
parent | e0205e568c556fd1fea7d4fe7bfd4d897482c39c (diff) | |
parent | 60ab05ac218f62672f286df33db1855e7aba913b (diff) |
Merge pull request #5427 from jtattermusch/fix_gcc44_string_decode
Don't fail when generating report.xml on gcc4.4
Diffstat (limited to 'tools')
-rw-r--r-- | tools/run_tests/report_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/report_utils.py b/tools/run_tests/report_utils.py index 0032a98523..df114e5dae 100644 --- a/tools/run_tests/report_utils.py +++ b/tools/run_tests/report_utils.py @@ -47,7 +47,7 @@ def _filter_msg(msg, output_format): # that make XML report unparseable. filtered_msg = filter( lambda x: x in string.printable and x != '\f' and x != '\v', - msg.decode(errors='ignore')) + msg.decode('UTF-8', 'ignore')) if output_format == 'HTML': filtered_msg = filtered_msg.replace('"', '"') return filtered_msg |