summaryrefslogtreecommitdiff
path: root/lib/mesa/bin/gen_calendar_entries.py
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-09-02 05:18:14 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-09-02 05:18:14 +0000
commit5f66494d31f735486b8222ecfa0a0c9046e92543 (patch)
treef699ac8d7f6d510c30bded04f96a1209344f6a47 /lib/mesa/bin/gen_calendar_entries.py
parent17a5b543e3479aaa779cc68345c46d437edd05d8 (diff)
Import Mesa 22.1.7
Diffstat (limited to 'lib/mesa/bin/gen_calendar_entries.py')
-rwxr-xr-xlib/mesa/bin/gen_calendar_entries.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mesa/bin/gen_calendar_entries.py b/lib/mesa/bin/gen_calendar_entries.py
index 711702e28..96772ddc0 100755
--- a/lib/mesa/bin/gen_calendar_entries.py
+++ b/lib/mesa/bin/gen_calendar_entries.py
@@ -105,7 +105,7 @@ def release_candidate(args: RCArguments) -> None:
data = read_calendar()
- with CALENDAR_CSV.open('w') as f:
+ with CALENDAR_CSV.open('w', newline='') as f:
writer = csv.writer(f)
writer.writerows(data)
@@ -147,7 +147,7 @@ def final_release(args: FinalArguments) -> None:
data = read_calendar()
date = _calculate_next_release_date(not args.zero_released)
- with CALENDAR_CSV.open('w') as f:
+ with CALENDAR_CSV.open('w', newline='') as f:
writer = csv.writer(f)
writer.writerows(data)
@@ -199,7 +199,7 @@ def extend(args: ExtendArguments) -> None:
current = read_calendar()
- with CALENDAR_CSV.open('w') as f:
+ with CALENDAR_CSV.open('w', newline='') as f:
writer = csv.writer(f)
with write_existing(writer, current) as row:
# Get rid of -rcX as well