mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
bin/gen_release_notes.py: Return "None" if there are no new features
Which is very likely .Z > 0 releases. Fixes:86079447da("scripts: Add a gen_release_notes.py script") Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> (cherry picked from commitc6d41e7f0b)
This commit is contained in:
parent
701457466c
commit
fa47f0f5cd
1 changed files with 2 additions and 0 deletions
|
|
@ -224,6 +224,8 @@ def get_features() -> typing.Generator[str, None, None]:
|
|||
with p.open('rt') as f:
|
||||
for line in f:
|
||||
yield line
|
||||
else:
|
||||
yield "None"
|
||||
|
||||
|
||||
async def main() -> None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue