also send POC-change emails to epel-devel mailing list
This commit is contained in:
parent
3f5610df58
commit
3bcdd61d6d
1 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,8 @@ from email.mime.text import MIMEText
|
||||||
|
|
||||||
DATAGREPPER_URL = 'https://apps.fedoraproject.org/datagrepper/raw/'
|
DATAGREPPER_URL = 'https://apps.fedoraproject.org/datagrepper/raw/'
|
||||||
DELTA = 7 * 24 * 60 * 60 # 7 days
|
DELTA = 7 * 24 * 60 * 60 # 7 days
|
||||||
EMAIL_TO = 'devel@lists.fedoraproject.org'
|
COMMASPACE = ', '
|
||||||
|
EMAIL_TO = ['devel@lists.fedoraproject.org', 'epel-devel@lists.fedoraproject.org']
|
||||||
EMAIL_FROM = 'nobody@fedoraproject.org'
|
EMAIL_FROM = 'nobody@fedoraproject.org'
|
||||||
SMTP_SERVER = 'localhost'
|
SMTP_SERVER = 'localhost'
|
||||||
|
|
||||||
|
@ -53,7 +54,7 @@ def send_report(report):
|
||||||
msg = MIMEText(report)
|
msg = MIMEText(report)
|
||||||
msg['Subject'] = '[POC-change] Fedora packages point of contact updates'
|
msg['Subject'] = '[POC-change] Fedora packages point of contact updates'
|
||||||
msg['From'] = EMAIL_FROM
|
msg['From'] = EMAIL_FROM
|
||||||
msg['To'] = EMAIL_TO
|
msg['To'] = COMMASPACE.join(EMAIL_TO)
|
||||||
|
|
||||||
# Send the message via our own SMTP server, but don't include the
|
# Send the message via our own SMTP server, but don't include the
|
||||||
# envelope header.
|
# envelope header.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue