Revert "Presubmit: ensure empty line between CL title and description"

This reverts commit 9518830650.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Presubmit: ensure empty line between CL title and description
> 
> Bug: skia:
> Change-Id: If1b2d655e9be4b960f76d2d17ce1cf1126f7b2d4
> Reviewed-on: https://skia-review.googlesource.com/15624
> Reviewed-by: Eric Boren <borenet@google.com>
> Commit-Queue: Eric Boren <borenet@google.com>
> 

TBR=borenet@google.com,rmistry@google.com
NOTRY=true
# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I311ee790f152dbb8325214650838839f6821c995
Reviewed-on: https://skia-review.googlesource.com/15862
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
This commit is contained in:
Ravi Mistry 2017-05-08 16:39:27 +00:00 committed by Skia Commit-Bot
parent 2983f4022d
commit 9bbed5ecd0

View File

@ -537,11 +537,6 @@ def PostUploadHook(cl, change, output_api):
if cq_master_to_trybots:
_AddCQExtraTrybotsToDesc(cq_master_to_trybots, new_description_lines)
# Ensure that there's an empty line between the title and description.
if len(new_description_lines) > 1:
if new_description_lines[0] != '':
new_description_lines.insert(1, '')
# If the description has changed update it.
if new_description_lines != original_description_lines:
cl.UpdateDescriptionFooters(new_description_lines, footers)