Skip to content

Commit 488f16a

Browse files
committed
Dedent mergebot message
1 parent b454474 commit 488f16a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/publish_toolstate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def issue(
7070
response = urllib2.urlopen(urllib2.Request(
7171
gh_url,
7272
json.dumps({
73-
'body': '''\
73+
'body': textwrap.dedent('''\
7474
Hello, this is your friendly neighborhood mergebot.
7575
After merging PR {}, I observed that the tool {} no longer builds.
7676
A follow-up PR to the repository {} is needed to fix the fallout.
@@ -80,7 +80,7 @@ def issue(
8080
8181
cc @{}, the PR reviewer, and @rust-lang/compiler -- nominating for prioritization.
8282
83-
'''.format(relevant_pr_number, tool, REPOS[tool], relevant_pr_user, pr_reviewer),
83+
''').format(relevant_pr_number, tool, REPOS[tool], relevant_pr_user, pr_reviewer),
8484
'title': '`{}` no longer builds after {}'.format(tool, relevant_pr_number),
8585
'assignees': assignees,
8686
'labels': ['T-compiler', 'I-nominated'],

0 commit comments

Comments
 (0)