Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: presubmit_support.py

Issue 3415010: This is still necessary. (Closed)
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: presubmit_support.py
diff --git a/presubmit_support.py b/presubmit_support.py
index 3b3759f2035d8105f026f0ac9abbfff022fdbd6b..c03c3eabf35d736b2702e8afc3f8f3a0d340bd81 100755
--- a/presubmit_support.py
+++ b/presubmit_support.py
@@ -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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698