]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools: ceph-release-notes: handle an edge case 16277/head
authorNathan Cutler <ncutler@suse.com>
Wed, 12 Jul 2017 03:05:43 +0000 (05:05 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Jul 2017 03:05:43 +0000 (05:05 +0200)
commitd4d8f3cd62a2138518bade233293a9ee6ea68750
treed66192176e5347b88ec13578b41e46ada41c1fb8
parentad71757aea40c2551644b5c62cc073e8063b1244
tools: ceph-release-notes: handle an edge case

If the merge commit message consists of a single "Reviewed-by:" line, the
script fails at the line because len(lines) is zero.

    duplicates_pr_title = lines[0] == pr['title'].strip()

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/script/ceph-release-notes