Index: clang-tools-extra/trunk/clang-tidy/tool/run-clang-tidy.py =================================================================== --- clang-tools-extra/trunk/clang-tidy/tool/run-clang-tidy.py +++ clang-tools-extra/trunk/clang-tidy/tool/run-clang-tidy.py @@ -167,9 +167,9 @@ if proc.returncode != 0: failed_files.append(name) with lock: - sys.stdout.write(' '.join(invocation) + '\n' + output + '\n') - if err > 0: - sys.stderr.write(err + '\n') + sys.stdout.write(' '.join(invocation) + '\n' + output.decode('utf-8') + '\n') + if len(err) > 0: + sys.stderr.write(err.decode('utf-8') + '\n') queue.task_done()