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

« back to all changes in this revision

Viewing changes to process-component-mismatches-diff

  • Committer: Łukasz 'sil2100' Zemczak
  • Date: 2022-04-19 17:02:10 UTC
  • Revision ID: lukasz.zemczak@canonical.com-20220419170210-3nmi5ryi84lf3zm8
...run ben as ubuntu using sudo, as the previous approach doesn't work

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 <martin.pitt@ubuntu.com>'
 
101
msg['From'] = 'process-component-mismatches-diff <ubuntu-release@lists.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('martin.pitt@ubuntu.com', addr, msgstr)
 
108
    s.sendmail('archive@ubuntu.com', addr, msgstr)
109
109
    s.quit()