Commit 965a05be authored by kyle Ju's avatar kyle Ju Committed by LUCI CQ

Fix py3 presubmit error. Use unicode strings explicitly.

Bug:1225052
Change-Id: I7c536819133c75130baca2f8d295360d7d1ca69c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2995072Reviewed-by: 's avatarEdward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Kyle Ju <kyleju@chromium.org>
parent a50bd44b
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment