diff --git a/pagure/lib/notify.py b/pagure/lib/notify.py index d2a7d7b..3c66d08 100644 --- a/pagure/lib/notify.py +++ b/pagure/lib/notify.py @@ -1151,8 +1151,7 @@ def notify_commit_flag(flag, user): send_email( text, - "Coommit #%s - %s: %s" - % (flag.commit_hash, flag.username, flag.status), + "Commit #%s - %s: %s" % (flag.commit_hash, flag.username, flag.status), ",".join(mail_to), mail_id=flag.mail_id, in_reply_to=flag.project.mail_id, diff --git a/tests/test_pagure_flask_api_project.py b/tests/test_pagure_flask_api_project.py index 704a2e2..187be7b 100644 --- a/tests/test_pagure_flask_api_project.py +++ b/tests/test_pagure_flask_api_project.py @@ -3328,7 +3328,7 @@ class PagureFlaskApiProjectFlagtests(tests.Modeltests): '`' + commit.oid.hex + '` as success: ' 'Tests passed\n\n' 'http://localhost.localdomain/test/c/' + commit.oid.hex + '\n', - 'Coommit #' + commit.oid.hex + ' - Jenkins: success', + 'Commit #' + commit.oid.hex + ' - Jenkins: success', 'bar@pingou.com', in_reply_to='test-project-1', mail_id='test-commit-1-1',