summaryrefslogtreecommitdiff
path: root/bin/gen_release_notes.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gen_release_notes.py')
-rwxr-xr-xbin/gen_release_notes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py
index 5520e55f17c..1ad60a30680 100755
--- a/bin/gen_release_notes.py
+++ b/bin/gen_release_notes.py
@@ -325,7 +325,7 @@ def update_release_notes_index(version: str) -> None:
first_list = False
new_relnotes.append(f'- :doc:`{version} release notes <relnotes/{version}>`\n')
if (not first_list and second_list and
- re.match(' \d+.\d+(.\d+)? <relnotes/\d+.\d+(.\d+)?>', line)):
+ re.match(r' \d+.\d+(.\d+)? <relnotes/\d+.\d+(.\d+)?>', line)):
second_list = False
new_relnotes.append(f' {version} <relnotes/{version}>\n')
new_relnotes.append(line)