Index: recipe_modules/git_cl/example.py |
diff --git a/recipe_modules/git_cl/example.py b/recipe_modules/git_cl/example.py |
index c76eac9541c9525b4cb6b4bbc957411663323245..e754583af11a7c9e72229bee6b4773dfd9fc0ed5 100644 |
--- a/recipe_modules/git_cl/example.py |
+++ b/recipe_modules/git_cl/example.py |
@@ -1,3 +1,4 @@ |
+# -*- coding: latin-1 -*- |
tandrii(chromium)
2016/06/23 19:53:54
why not utf8?
martiniss
2016/06/23 20:41:04
Blind copy-pasta. Makes much more sense
|
# Copyright 2016 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
@@ -14,6 +15,8 @@ DEPS = [ |
def RunSteps(api): |
+ api.git_cl.upload(u"Do the thing foobar\nNow with emoji: 😄") |
+ api.git_cl.issue() |
result = api.git_cl.get_description( |
patch='https://code.review/123', codereview='rietveld', suffix='build') |
api.git_cl.set_description( |