[CHG] runbot_merge: deskill mergebot feedback

twas heehee in the moment but it's not really a long term hoohoo
haahaa.
This commit is contained in:
Xavier Morel 2024-08-05 09:09:23 +02:00
parent ec01523875
commit ff6f046811
3 changed files with 3 additions and 3 deletions

View File

@ -269,7 +269,7 @@ class Parser:
if handler:
yield handler(self)
elif '!' in token:
raise CommandError("skill issue, noob")
raise CommandError("no need to scream")
else:
raise CommandError(f"unknown command {token!r}")

View File

@ -947,7 +947,7 @@ For your own safety I've ignored *everything in your entire comment*.
msg = "you can't set a forward-port limit."
# NO!
case _:
msg = f"you can't {command}. Skill issue."
msg = f"you can't {command}."
if msg is not None:
rejections.append(msg)

View File

@ -3158,7 +3158,7 @@ class TestReviewing:
assert prx.comments == [
(users['reviewer'], 'hansen r+'),
seen(env, prx, users),
(users['user'], "@{} you can't review+. Skill issue.".format(users['reviewer'])),
(users['user'], "@{} you can't review+.".format(users['reviewer'])),
]
def test_self_review_success(self, env, repo, users, config):