diff --git a/presubmit_support.py b/presubmit_support.py index 297f97f5f..04e6af1fe 100755 --- a/presubmit_support.py +++ b/presubmit_support.py @@ -331,7 +331,7 @@ class _PresubmitResult(object): if self._long_text: sys.stdout.write('\n***************\n') # Write separately in case it's unicode. - sys.stdout.write(self._long_text) + sys.stdout.write(str(self._long_text)) sys.stdout.write('\n***************\n') def json_format(self):