aboutsummaryrefslogtreecommitdiffhomepage
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorGravatar Ravi Mistry <rmistry@google.com>2017-05-08 12:59:56 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-08 17:05:11 +0000
commitee06ffe455df9cd4776abd415327c0fb0366e915 (patch)
tree821d4d82f2669da00e6894d693f7a060b85fc1f7 /PRESUBMIT.py
parent15b2509a7ef81bb23242f19641f7f660430fea96 (diff)
Separate lines added via post upload from original description
BUG=skia:6598 NOTRY=true Change-Id: I23fa415788e91da01d33ab3ab912aa420636574c Reviewed-on: https://skia-review.googlesource.com/15869 Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 0baf69c998..768892a208 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -539,6 +539,8 @@ def PostUploadHook(cl, change, output_api):
# If the description has changed update it.
if new_description_lines != original_description_lines:
+ # Add a new line separating the new contents from the old contents.
+ new_description_lines.insert(len(original_description_lines), '')
cl.UpdateDescriptionFooters(new_description_lines, footers)
return results