Commit 5187266e authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

packages: only send a signoff once the requirements are met

Instead of spamming packagers when the requirements are met, only send
the email when it's enough.
parent 91b72c74
......@@ -58,7 +58,7 @@ def signoff_package(request, name, repo, arch, revoke=False):
signoffs = Signoff.objects.for_package(package).filter(
if signoffs.count() >= spec.required:
if signoffs.count() == spec.required:
packager = package.packager
# TODO: Handle notification when packager does not exist
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment