From 077a3f42a55c6ac50ba77170585c4a89441b01a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Fri, 25 Mar 2022 16:30:46 +0100 Subject: [PATCH] Minor fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update topics for AMQP and fix syntax of one string. Signed-off-by: Michal Konečný --- toddlers/plugins/scm_request_processor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toddlers/plugins/scm_request_processor.py b/toddlers/plugins/scm_request_processor.py index b211f40..048d8c7 100644 --- a/toddlers/plugins/scm_request_processor.py +++ b/toddlers/plugins/scm_request_processor.py @@ -64,6 +64,7 @@ class SCMRequestProcessor(ToddlerBase): amqp_topics: list = [ "org.fedoraproject.*.pagure.issue.new", "org.fedoraproject.*.pagure.issue.edit", + "org.fedoraporject.*.pagure.issue.comment.added", ] # SLAs for branches @@ -309,7 +310,7 @@ class SCMRequestProcessor(ToddlerBase): return else: raise ValidationError( - 'The SLAs for the branch "{0}" are ' "incorrect".format(branch) + 'The SLAs for the branch "{0}" are incorrect'.format(branch) ) for sla, eol in sla_dict.items():