mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 17:10:11 +01:00
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>
(cherry picked from commit 980d6a91ee)
This commit is contained in:
parent
b8b16d4199
commit
2aff633332
2 changed files with 2 additions and 2 deletions
|
|
@ -3964,7 +3964,7 @@
|
|||
"description": "gen_release_notes: strip second newline in new features",
|
||||
"nominated": false,
|
||||
"nomination_type": null,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue