Fix actually bcc ing dead host mails.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 22 Nov 2010 22:02:53 +0000 (23:02 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 22 Nov 2010 22:02:53 +0000 (23:02 +0100)
mail-dead-hosts.py

index 94aa1339582e52b45357c3f8dd305bffd950895a..35777f59ff3f10b555875785291717e5d8dfd0a8 100755 (executable)
@@ -72,7 +72,7 @@ The Build Farm administration team.
     if opts.dry_run:
         print msg.as_string()
     else:
-        smtp.sendmail(msg["From"], [msg["To"]], msg.as_string())
+        smtp.sendmail(msg["From"], [msg["To"], msg["Bcc"]], msg.as_string())
         host.dead_mail_sent()
 buildfarm.commit()
 smtp.quit()