Separate lines added via post upload from original description
authorRavi Mistry <rmistry@google.com>
Mon, 8 May 2017 16:59:56 +0000 (12:59 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 8 May 2017 17:05:11 +0000 (17:05 +0000)
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>
PRESUBMIT.py

index 0baf69c..768892a 100644 (file)
@@ -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