community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1825952 - /comdev/projects.apache.org/scripts/cronjobs/parseprojects.py
Date Tue, 06 Mar 2018 01:18:25 GMT
Author: sebb
Date: Tue Mar  6 01:18:25 2018
New Revision: 1825952

URL: http://svn.apache.org/viewvc?rev=1825952&view=rev
Log:
Detect and log pmc rdf parse errors

Modified:
    comdev/projects.apache.org/scripts/cronjobs/parseprojects.py

Modified: comdev/projects.apache.org/scripts/cronjobs/parseprojects.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/parseprojects.py?rev=1825952&r1=1825951&r2=1825952&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/parseprojects.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/parseprojects.py Tue Mar  6 01:18:25 2018
@@ -202,7 +202,10 @@ for s in itemlist :
                 pmc = m.group(1)
             else:
                 # Not a shortcut, so read the descriptor file
-                pmc = getPMC(pmcrdf)
+                try:
+                    pmc = getPMC(pmcrdf)
+                except:
+                    printMail("WARN: invalid asfext:pmc '%s' in %s" % (pmcrdf, url))
             
         if pjson['name']:
             projectJsonFilename = name2fileName(pjson['name'], pmc)



Mime
View raw message