Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a31c407

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

File tree

1 file changed

+4
-5
lines changed
Filter options

1 file changed

+4
-5
lines changed

‎backport/backport_pr.py

Copy file name to clipboardExpand all lines: backport/backport_pr.py
+4-5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.