community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1689140 - /comdev/projects.apache.org/scripts/import/parseprojects.py
Date Sat, 04 Jul 2015 11:14:16 GMT
Author: hboutemy
Date: Sat Jul  4 11:14:15 2015
New Revision: 1689140

URL: http://svn.apache.org/r1689140
Log:
fixed parsing for oltu, that defines 'helper's

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

Modified: comdev/projects.apache.org/scripts/import/parseprojects.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/import/parseprojects.py?rev=1689140&r1=1689139&r2=1689140&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/import/parseprojects.py (original)
+++ comdev/projects.apache.org/scripts/import/parseprojects.py Sat Jul  4 11:14:15 2015
@@ -73,6 +73,8 @@ for s in itemlist :
         projectJsonFilename = None
         for el in project:
             k, v = handleChild(el)
+            if not save:
+                print("+ %s" % k);
             if k in pjson and not k in ['name','homepage']:
                 if type(pjson[k]) is str:
                     pjson[k] = "%s, %s" % (pjson[k], v)
@@ -80,7 +82,7 @@ for s in itemlist :
                     for xk in v:
                         pjson[k].append(v[xk])
             else:
-                if k not in ['release', 'implements', 'repository', 'developer', 'maintainer',
'member']:
+                if k not in ['release', 'implements', 'repository', 'developer', 'maintainer',
'member', 'helper']:
                     pjson[k] = v
                 else:
                     pjson[k] = []



Mime
View raw message