gen_release_notes: strip second newline in new features

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20132>
This commit is contained in:
Eric Engestrom
2022-12-02 11:58:17 +00:00
parent 75eb0d2891
commit 980d6a91ee

View File

@@ -287,7 +287,7 @@ def get_features(is_point_release: bool) -> typing.Generator[str, None, None]:
print("WARNING: new features being introduced in a point release", file=sys.stderr)
with p.open('rt') as f:
for line in f:
yield line
yield line.rstrip()
else:
yield "None"
p.unlink()