[Libreoffice-commits] dev-tools.git: gerritbot/send-daily-digest
Bjoern Michaelsen
bjoern.michaelsen at canonical.com
Mon Jun 24 10:55:44 PDT 2013
gerritbot/send-daily-digest | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit cfd6f05e7f8e00897652d7c48218ab0f6cedf74e
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Mon Jun 24 11:36:36 2013 +0200
add french QA list to CC, also fix Reply-To address
Change-Id: I43e6e804024125f17822a993f587a8422b69c1e8
Reviewed-on: https://gerrit.libreoffice.org/4471
Reviewed-by: David Ostrovsky <David.Ostrovsky at gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky at gmx.de>
diff --git a/gerritbot/send-daily-digest b/gerritbot/send-daily-digest
index 8d92c84..5f8d937 100755
--- a/gerritbot/send-daily-digest
+++ b/gerritbot/send-daily-digest
@@ -54,9 +54,10 @@ Note: The bot generating this message can be found and improved here:
msg = email.mime.text.MIMEText(body, 'plain', 'UTF-8')
msg['From'] = 'gerrit at libreoffice.org'
msg['To'] = 'libreoffice at lists.freedesktop.org'
+ msg['Cc'] = 'qa at fr.libreoffice.org'
msg['Date'] = email.utils.formatdate(time.mktime((now.timetuple())))
msg['Subject'] = 'LibreOffice Gerrit News %s' % now.date().isoformat()
- msg['Reply-To'] = 'ibreoffice at lists.freedesktop.org'
+ msg['Reply-To'] = 'libreoffice at lists.freedesktop.org'
msg['X-Mailer'] = 'LibreOfficeGerritDigestMailer 1.0'
return msg
@@ -65,6 +66,6 @@ if __name__ == '__main__':
parser.add_argument('-g', '--gerrit', help='(i. e. logerrit or gerrit.libreoffice.org, use alias in your ~/.ssh(config with your public key)', required=True)
args=vars(parser.parse_args())
server = smtplib.SMTP('localhost')
- server.sendmail('gerrit at libreoffice.org', 'libreoffice at lists.freedesktop.org', str(create_message(args['gerrit'], 25)))
+ server.sendmail('gerrit at libreoffice.org', ['libreoffice at lists.freedesktop.org', 'qa at fr.libreoffice.org'], str(create_message(args['gerrit'], 25)))
server.quit()
# vim: set et sw=4 ts=4:
More information about the Libreoffice-commits
mailing list