Minor fixes

Update topics for AMQP and fix syntax of one string.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2022-03-25 16:30:46 +01:00
parent 4cad77ca4c
commit 077a3f42a5

View file

@ -64,6 +64,7 @@ class SCMRequestProcessor(ToddlerBase):
amqp_topics: list = [ amqp_topics: list = [
"org.fedoraproject.*.pagure.issue.new", "org.fedoraproject.*.pagure.issue.new",
"org.fedoraproject.*.pagure.issue.edit", "org.fedoraproject.*.pagure.issue.edit",
"org.fedoraporject.*.pagure.issue.comment.added",
] ]
# SLAs for branches # SLAs for branches
@ -309,7 +310,7 @@ class SCMRequestProcessor(ToddlerBase):
return return
else: else:
raise ValidationError( 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(): for sla, eol in sla_dict.items():