mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 07:19:50 +00:00
bin/post_version: convert the csv.reader into a concrete list
which is necessary to be able to index into it. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8477>
This commit is contained in:
parent
61720098fa
commit
7b9c01a5b1
@ -56,7 +56,7 @@ def update_calendar(version: str) -> None:
|
||||
p = pathlib.Path('docs') / 'release-calendar.csv'
|
||||
|
||||
with p.open('r') as f:
|
||||
calendar = csv.reader(f)
|
||||
calendar = list(csv.reader(f))
|
||||
|
||||
branch = None
|
||||
for i, line in enumerate(calendar):
|
||||
|
Loading…
Reference in New Issue
Block a user