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:
parent
4cad77ca4c
commit
077a3f42a5
1 changed files with 2 additions and 1 deletions
|
@ -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():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue