Skip to content

Commit ee53012

Browse files
Apply suggestions from code review
Co-authored-by: Henry Mercer <[email protected]>
1 parent e0c2b0a commit ee53012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/update-release-branch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get_today_string():
177177

178178
def process_changelog_for_backports(source_branch_major_version, target_branch_major_version):
179179

180-
# changelog entries use a speficic format to indicate
180+
# changelog entries can use the following format to indicate
181181
# that they only apply to newer versions
182182
regex = re.compile(r'\[v(\d+)\+ only\]')
183183

@@ -216,7 +216,7 @@ def process_changelog_for_backports(source_branch_major_version, target_branch_m
216216
# we have found two headings in a row, so we need to add the placeholder message.
217217
output += 'No user facing changes.\n'
218218
found_content = False
219-
output += '\n' +line + '\n\n'
219+
output += f'\n{line}\n\n'
220220
else:
221221
if line.strip() != '':
222222
found_content = True

0 commit comments

Comments
 (0)