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

Unified Diff: presubmit_support.py

Issue 6676093: Fix presubmit check output when the items are AffectedFile instances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 9 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 e9a2dbd49763f25d93ec7ebbc325446b7d31f13f..f56ddd8aeb51e0346acca91b61696cc12674fb42 100755
--- a/presubmit_support.py
+++ b/presubmit_support.py
@@ -146,7 +146,7 @@ class OutputApi(object):
for index, item in enumerate(self._items):
output.write(' ')
# Write separately in case it's unicode.
- output.write(item)
+ output.write(str(item))
if index < len(self._items) - 1:
output.write(' \\')
output.write('\n')
« 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