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

Unified Diff: git_cl.py

Issue 23185006: Pretty-print the CL description during commit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Comments Created 7 years, 4 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: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index 3ee62f6b3a2a5ef25c564313fc0dc9e078107890..d83365032273d74f16d2f662eaf2713db578b458 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1668,7 +1668,8 @@ def SendUpstream(parser, args, cmd):
if options.contributor:
commit_desc.append_footer('Patch from %s.' % options.contributor)
- print 'Description:', repr(commit_desc.description)
+ print('Description:')
+ print(commit_desc.description)
branches = [base_branch, cl.GetBranchRef()]
if not options.force:
« 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