]> git.ipfire.org Git - thirdparty/bind9.git/commit
Handle empty MR description in dangerfile
authorTom Krizek <tkrizek@isc.org>
Fri, 8 Dec 2023 15:31:46 +0000 (16:31 +0100)
committerMichal Nowak <mnowak@isc.org>
Mon, 11 Dec 2023 16:52:20 +0000 (17:52 +0100)
commitd37c4d638009d8edb7ea8b93cbbce9195b3f4901
tree09f1084d08e6d7caefc774a67e53e7808ae91e8e
parentc2d041f1fdd03adc92f27f1de9e857e080fc1950
Handle empty MR description in dangerfile

A merge request might have no description at all (i.e. None, rather than
an empty string). This might happen when the MR is created via an API.
Check a description is present before trying to find a backport string
in it.

(cherry picked from commit 4f70f5bd7cbd79e54d8c37a53267eae62a633c36)
dangerfile.py