[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: fixup mail sending
Holger Levsen
holger at layer-acht.org
Mon Oct 10 19:45:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit fa310f140dbcaeb7dbaf33e392ffec693baffeba
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Oct 10 21:45:39 2016 +0200
reproducible Debian: fixup mail sending
---
bin/reproducible_scheduler.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 5cfee54..a12c005 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -697,9 +697,11 @@ if __name__ == '__main__':
# irc_msg(message, channel='debian-reproducible-changes')
# send mail instead of notifying via irc, less intrusive
msg = MIMEText(message)
+ mail_from = 'jenkins at jenkins.debian.net'
+ mail_to = 'qa-jenkins-scm at lists.alioth.debian.org'
+ msg['From'] = mail_from
+ msg['To'] = mail_to
msg['Subject'] = 'packages scheduled for reproducible Debian'
- msg['From'] = 'jenkins at jenkins.debian.net'
- msg['To'] = 'qa-jenkins-scm at lists.alioth.debian.org'
s = smtplib.SMTP('localhost')
- s.sendmail(me, [you], msg.as_string())
+ s.sendmail(mail_from, [mail_to], msg.as_string())
s.quit()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list