Skip to content

Commit

Permalink
Fix weird text formatting on GitHub (GH-22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariatta authored Sep 9, 2017
1 parent 81e8d6b commit a31c407
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions backport/backport_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ async def backport_pr(event, gh, *args, **kwargs):
thanks_to = f"Thanks @{created_by} for the PR ๐ŸŒฎ๐ŸŽ‰."
else:
thanks_to = f"Thanks @{created_by} for the PR, and @{merged_by} for merging it ๐ŸŒฎ๐ŸŽ‰."
message = f"""\
{thanks_to}. I'm working now to backport this PR to: {', '.join(branches)}.
๐Ÿ๐Ÿ’โ›๐Ÿค–
{easter_egg}
"""
message = f"{thanks_to}. I'm working now to backport this PR to: {', '.join(branches)}.",\
f"\n๐Ÿ๐Ÿ’โ›๐Ÿค– {easter_egg}"

util.comment_on_pr(issue_number, message)

for branch in branches:
Expand All @@ -51,3 +49,4 @@ async def backport_pr(event, gh, *args, **kwargs):
issue_number=issue_number,
created_by=created_by,
merged_by=merged_by)

0 comments on commit a31c407

Please sign in to comment.