From ebe839b6bfc3e9276b8d1e42a0d6e830bb04899e Mon Sep 17 00:00:00 2001 From: Kenneth Russell Date: Fri, 22 Dec 2017 14:55:39 -0800 Subject: [PATCH] Add a '\n' at the end of the roll tool's command line. Currently the BUG= line is being concatenated at the end, preventing Bugdroid from picking it up and bugs from being updated. BUG=797444 Change-Id: I7242db76a9552658d94fda10ec564b230f4f0037 Reviewed-on: https://chromium-review.googlesource.com/843014 Commit-Queue: Marc-Antoine Ruel Reviewed-by: Marc-Antoine Ruel --- roll_dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roll_dep.py b/roll_dep.py index d988195108..6b1b9a1882 100755 --- a/roll_dep.py +++ b/roll_dep.py @@ -154,7 +154,7 @@ def gen_commit_msg(logs, cmdline, rolls, reviewers, bug): if len(logs) > 1: commit_msg = 'Rolling %d dependencies\n\n' % len(logs) commit_msg += '\n\n'.join(logs) - commit_msg += '\nCreated with:\n ' + cmdline + commit_msg += '\nCreated with:\n ' + cmdline + '\n' commit_msg += 'R=%s\n' % ','.join(reviewers) if reviewers else '' commit_msg += 'BUG=%s\n' % bug if bug else '' return commit_msg