diff options
Diffstat (limited to 'deployment')
-rwxr-xr-x | deployment/mgagit/templates/git_multimail.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/deployment/mgagit/templates/git_multimail.py b/deployment/mgagit/templates/git_multimail.py index cd8d30e6..ab192936 100755 --- a/deployment/mgagit/templates/git_multimail.py +++ b/deployment/mgagit/templates/git_multimail.py @@ -2253,13 +2253,7 @@ class Push(object): unhandled_sha1s = set(self.get_new_commits()) for change in self.changes: # Check if we've got anyone to send to - if not change.recipients: - sys.stderr.write( - '*** no recipients configured so no email will be sent\n' - '*** for %r update %s->%s\n' - % (change.refname, change.old.sha1, change.new.sha1,) - ) - else: + if change.recipients: sys.stderr.write('Sending notification emails to: %s\n' % (change.recipients,)) mailer.send(change.generate_email(self, body_filter), change.recipients) |