community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1878435 - /comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py
Date Wed, 03 Jun 2020 13:51:36 GMT
Author: sebb
Date: Wed Jun  3 13:51:36 2020
New Revision: 1878435

URL: http://svn.apache.org/viewvc?rev=1878435&view=rev
Log:
Logos were moved

Modified:
    comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py

Modified: comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py?rev=1878435&r1=1878434&r2=1878435&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py (original)
+++ comdev/projects.apache.org/trunk/scripts/cronjobs/parsecommitteeinfo.py Wed Jun  3 13:51:36
2020
@@ -40,10 +40,10 @@ homepages = {
 }
 
 # Print to log and send an email (intended for WARN messages)
-def printMail(msg):
+def printMail(msg,body=''):
     print(msg)
     try:
-        sendmail.sendMail(msg)
+        sendmail.sendMail(msg,body)
     except ConnectionRefusedError:
         print("*** Failed to send the email")
 
@@ -175,7 +175,7 @@ for group in sorted(committees, key=keyo
             else:
                 committeeId = group
 
-            img = "http://www.apache.org/img/%s.jpg" % committeeId
+            img = "http://www.apache.org/logos/res/%s/default.png" % committeeId
             if not head(img):
                 print("WARN: could not find logo: %s" % (img))
                 



Mime
View raw message