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 <maruel@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
changes/14/843014/2
Kenneth Russell 7 years ago committed by Commit Bot
parent f2cb0f5b3e
commit ebe839b6bf

@ -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

Loading…
Cancel
Save