incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject svn commit: r1736740 - /incubator/public/trunk/report_reminders.py
Date Sun, 27 Mar 2016 12:42:38 GMT
Author: johndament
Date: Sun Mar 27 12:42:37 2016
New Revision: 1736740

URL: http://svn.apache.org/viewvc?rev=1736740&view=rev
Log:
non test mode.

Modified:
    incubator/public/trunk/report_reminders.py

Modified: incubator/public/trunk/report_reminders.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/report_reminders.py?rev=1736740&r1=1736739&r2=1736740&view=diff
==============================================================================
--- incubator/public/trunk/report_reminders.py (original)
+++ incubator/public/trunk/report_reminders.py Sun Mar 27 12:42:37 2016
@@ -15,19 +15,18 @@ with open('content/shepherd_assignments.
 podlingsToReport = data['2016-04'].keys()
 
 me = 'johndament@apache.org'
-you = 'johndament@apache.org'
 
 emailFormat = "dev@{}.incubator.apache.org"
 
 for podling in podlingsToReport:
     email = emailFormat.format(podling)
     msg = MIMEText(messageBody)
-    msg['Subject'] = 'Email reminder for %s' % email
+    msg['Subject'] = 'Podling Report Reminder - April 2016'
     msg['From'] = me
-    msg['To'] = you
+    msg['To'] = email
 
     # Send the message via our own SMTP server, but don't include the
     # envelope header.
     s = smtplib.SMTP('localhost')
-    s.sendmail(me, [you], msg.as_string())
+    s.sendmail(me, [email], msg.as_string())
     s.quit()



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message