diff --git a/scripts/publish_release.py b/scripts/publish_release.py index 2a72bfa15..92473aceb 100644 --- a/scripts/publish_release.py +++ b/scripts/publish_release.py @@ -33,7 +33,7 @@ def insert_break(lines, break_pos=9): def line_filter(line): if len(line) == 0: return True - return any(line.startswith(c) for c in "-*+"): + return any(line.startswith(c) for c in "-*+") if len(lines) <= break_pos: return lines