Skip to content

Commit

Permalink
Fix missing closing parenthesis in fix_authors.py
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Mar 1, 2019
1 parent 4fefbda commit 26c4748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fix_authors.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def main():
authors = format_authors(sorted(users, key=str.lower))
print(f"Fixing authors for #{pr}: {authors}")
release_re = rf'(?m)(\(\[#{pr}\]\(https://github.com/sympy/sympy/pull/{pr}\) by ).*\)$'
repl = rf'\1{authors}'
repl = rf'\1{authors})'
release_notes, n = re.subn(release_re, repl, release_notes)
if n == 0:
print(f"WARNING: Could not fix the authors for PR #{pr}.")
Expand Down

0 comments on commit 26c4748

Please sign in to comment.