Skip to content

Commit a31c407

Browse files
authored
Fix weird text formatting on GitHub (GH-22)
1 parent 81e8d6b commit a31c407

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

backport/backport_pr.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@ async def backport_pr(event, gh, *args, **kwargs):
3838
thanks_to = f"Thanks @{created_by} for the PR 🌮🎉."
3939
else:
4040
thanks_to = f"Thanks @{created_by} for the PR, and @{merged_by} for merging it 🌮🎉."
41-
message = f"""\
42-
{thanks_to}. I'm working now to backport this PR to: {', '.join(branches)}.
43-
🐍🍒⛏🤖
44-
{easter_egg}
45-
"""
41+
message = f"{thanks_to}. I'm working now to backport this PR to: {', '.join(branches)}.",\
42+
f"\n🐍🍒⛏🤖 {easter_egg}"
43+
4644
util.comment_on_pr(issue_number, message)
4745

4846
for branch in branches:
@@ -51,3 +49,4 @@ async def backport_pr(event, gh, *args, **kwargs):
5149
issue_number=issue_number,
5250
created_by=created_by,
5351
merged_by=merged_by)
52+

0 commit comments

Comments
 (0)