From a1c51a6d6f13e5ff09d3741c890357ee77a2996e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 24 2014 10:01:10 +0000 Subject: Include all the owners when notifying about a new issue --- diff --git a/progit/notify.py b/progit/notify.py index fc76d65..d36556a 100644 --- a/progit/notify.py +++ b/progit/notify.py @@ -114,6 +114,10 @@ New issue: ) mail_to = set([cmt.user.emails[0].email for cmt in issue.comments]) mail_to.add(issue.project.user.emails[0].email) + for prouser in issue.project.user: + if prouser.user.emails: + mail_to.add(prouser.user.emails[0].email) + send_email( text, 'New issue `%s`' % issue.title,