Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Mercer <henry.mercer@me.com>
  • Loading branch information
2 people authored and GitHub committed Dec 15, 2023
1 parent e0c2b0a commit ee53012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/update-release-branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def get_today_string():

def process_changelog_for_backports(source_branch_major_version, target_branch_major_version):

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

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

0 comments on commit ee53012

Please sign in to comment.