check_source: check_action_delete_repository(): simplify decline message.

This commit is contained in:
Jimmy Berry 2019-09-09 16:57:26 -05:00
parent a7cf9026db
commit 4e4379a4d5

View File

@ -359,10 +359,8 @@ class CheckSource(ReviewBot.ReviewBot):
self.target_project_config(action.tgt_project) self.target_project_config(action.tgt_project)
if self.mail_release_list: if self.mail_release_list:
self.review_messages['declined'] = 'The repositories in the openSUSE:* namespace ' \ self.review_messages['declined'] = 'Deleting repositories is not allowed. ' \
'are managed by the Release Managers. For suggesting changes, send a mail ' \ 'Contact {} to discuss further.'.format(self.mail_release_list)
'to opensuse-releaseteam@opensuse.org with an explanation of why the change ' \
'makes sense.'
return False return False
self.review_messages['accepted'] = 'unhandled: removing repository' self.review_messages['accepted'] = 'unhandled: removing repository'