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

Unified Diff: recipe_engine/stream.py

Issue 2088343002: improve unicode support (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Copyright Created 4 years, 6 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 | « recipe_engine/step_runner.py ('k') | recipe_engine/third_party/expect_tests/serialize.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/stream.py
diff --git a/recipe_engine/stream.py b/recipe_engine/stream.py
index 84de2b67c25cff2a1c1e269653ff3068d0575a1a..52608677946814f9a5ed0015b71e21454212911e 100644
--- a/recipe_engine/stream.py
+++ b/recipe_engine/stream.py
@@ -271,7 +271,7 @@ class AnnotationStepStream(StreamEngine.StepStream):
raise NotImplementedError()
def output_annotation(self, *args):
- self.basic_write('@@@' + '@'.join(map(str, args)) + '@@@\n')
+ self.basic_write('@@@' + '@'.join(map(unicode, args)) + '@@@\n')
def write_line(self, line):
if line.startswith('@@@'):
« no previous file with comments | « recipe_engine/step_runner.py ('k') | recipe_engine/third_party/expect_tests/serialize.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698