fix mistakes in scm_request_processor

This commit is contained in:
Anton Medvedev 2025-05-16 10:40:51 +02:00
parent 9dbd571a01
commit c124f141b5

View file

@ -791,8 +791,8 @@ class SCMRequestProcessor(ToddlerBase):
else:
project_msg = (
"Anitya project is accessible by this link \n`{0}`\n "
"you can modify it manually.".format(anitya_project_url)
)
"you can modify it manually."
).format(anitya_project_url)
package_exists = self.anitya.does_package_exists_in_anitya(
repo, project_name, distribution
)
@ -810,7 +810,7 @@ class SCMRequestProcessor(ToddlerBase):
package_msg = "Package was created in Anitya"
monitoring_message = project_msg + "\n" + package_msg
new_repo_comment = new_repo_comment = (
new_repo_comment = (
new_repo_comment + "\nMonitoring:\n" + monitoring_message
)