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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user