Commit 35db5099 authored by maruel@chromium.org's avatar maruel@chromium.org

This is still necessary.

This breaks non-ascii output on Windows but if it's not there it breaks unicode
output on all other platforms. Ah code pages...

TEST=none
BUG=none

Review URL: http://codereview.chromium.org/3415010

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@59966 0039d316-1c4b-4281-b951-d872f2087c98
parent 8071c287
......@@ -115,7 +115,7 @@ class OutputApi(object):
output_stream.write(' ' + ' \\\n '.join(map(str, self._items)) + '\n')
if self._long_text:
output_stream.write('\n***************\n%s\n***************\n' %
self._long_text)
self._long_text.encode('ascii', 'replace'))
if self.ShouldPrompt() and may_prompt:
if not PromptYesNo(input_stream, output_stream,
......
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