community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1698265 - /comdev/projects.apache.org/scripts/import/parsecommittees.py
Date Fri, 28 Aug 2015 06:29:49 GMT
Author: hboutemy
Date: Fri Aug 28 06:29:48 2015
New Revision: 1698265

URL: http://svn.apache.org/r1698265
Log:
take into account committee without chair: display the unexpected before failing...

Modified:
    comdev/projects.apache.org/scripts/import/parsecommittees.py

Modified: comdev/projects.apache.org/scripts/import/parsecommittees.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/import/parsecommittees.py?rev=1698265&r1=1698264&r2=1698265&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/import/parsecommittees.py (original)
+++ comdev/projects.apache.org/scripts/import/parsecommittees.py Fri Aug 28 06:29:48 2015
@@ -169,6 +169,8 @@ for l in buf.readlines():
     elif len(l.strip()) == 0:
         if newCommittee:
             committees[curCommittee] = c
+            if 'chair' not in c:
+              print("ERR: no committee member with '(chair)' suffix in %s, script will fail
later..." % curCommittee)
             c = {}
             newCommittee = False
     elif not l.startswith('==='):



Mime
View raw message