X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/09d8f8c55a4193fbabba723c2f257b447c0edaf4..d2a327a89c3eec6688a1b5b65ef3ab86552bc972:/stgit/commands/series.py diff --git a/stgit/commands/series.py b/stgit/commands/series.py index 105eeb9..58c706c 100644 --- a/stgit/commands/series.py +++ b/stgit/commands/series.py @@ -55,7 +55,7 @@ def __get_description(patch): """Extract and return a patch's short description """ p = crt_series.get_patch(patch) - descr = p.get_description().strip() + descr = (p.get_description() or '').strip() descr_lines = descr.split('\n') return descr_lines[0].rstrip()