summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_scheduler.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-10-10 21:45:39 +0200
committerHolger Levsen <holger@layer-acht.org>2016-10-10 21:45:39 +0200
commitfa310f140dbcaeb7dbaf33e392ffec693baffeba (patch)
tree567004d59d8f38bafe758e5875c68b275312ae7c /bin/reproducible_scheduler.py
parent8f19a852d20311595883bbb091ba721efb783915 (diff)
downloadjenkins.debian.net-fa310f140dbcaeb7dbaf33e392ffec693baffeba.tar.xz
reproducible Debian: fixup mail sending
Diffstat (limited to 'bin/reproducible_scheduler.py')
-rwxr-xr-xbin/reproducible_scheduler.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 5cfee548..a12c005d 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@jenkins.debian.net'
+ mail_to = 'qa-jenkins-scm@lists.alioth.debian.org'
+ msg['From'] = mail_from
+ msg['To'] = mail_to
msg['Subject'] = 'packages scheduled for reproducible Debian'
- msg['From'] = 'jenkins@jenkins.debian.net'
- msg['To'] = 'qa-jenkins-scm@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()