~ubuntu-archive/ubuntu-archive-scripts/trunk

« back to all changes in this revision

Viewing changes to process-component-mismatches-diff

  • Committer: Colin Watson
  • Date: 2013-08-07 11:43:00 UTC
  • Revision ID: cjwatson@canonical.com-20130807114300-9b2cu8o2wlc12upj
run-phased-updater: make bzr quieter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python3
 
1
#!/usr/bin/python
2
2
# (C) 2011 Canonical Ltd.
3
3
# Author: Martin Pitt <martin.pitt@canonical.com>
4
4
# License: GPL-2+
86
86
promoted, or the reverse dependencies in main need to be dropped:
87
87
 
88
88
%s
89
 
Please see https://ubuntu-archive-team.ubuntu.com/component-mismatches.txt
 
89
Please see http://people.canonical.com/~ubuntu-archive/component-mismatches.txt
90
90
for the full report.
91
91
 
92
92
Please contact https://launchpad.net/~ubuntu-archive for problems with this
98
98
addrs = ['ubuntu-release@lists.ubuntu.com']
99
99
msg = MIMEText(r)
100
100
msg['Subject'] = 'New component-mismatches for source universe -> main'
101
 
msg['From'] = 'process-component-mismatches-diff <ubuntu-release@lists.ubuntu.com>'
 
101
msg['From'] = 'process-component-mismatches-diff <martin.pitt@ubuntu.com>'
102
102
msg['To'] = ', '.join(addrs)
103
103
msgstr = msg.as_string()
104
104
 
105
105
for addr in addrs:
106
106
    s = smtplib.SMTP()
107
107
    s.connect()
108
 
    s.sendmail('archive@ubuntu.com', addr, msgstr)
 
108
    s.sendmail('martin.pitt@ubuntu.com', addr, msgstr)
109
109
    s.quit()