def _build_ready_for_review(sender, release=None): if not release: return build_id = release.build_id release_name = release.name release_number = release.number emails.send_ready_for_review(build_id, release_name, release_number) webhooks.send_ready_for_review(build_id, release_name, release_number)
def send_notification_email(response): emails.send_ready_for_review(build_id, release_name, release_number)