community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1681596 - /comdev/projects.apache.org/scripts/import/parsecommittees.py
Date Mon, 25 May 2015 15:41:09 GMT
Author: hboutemy
Date: Mon May 25 15:41:08 2015
New Revision: 1681596

URL: http://svn.apache.org/r1681596
Log:
fixed typos

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=1681596&r1=1681595&r2=1681596&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/import/parsecommittees.py (original)
+++ comdev/projects.apache.org/scripts/import/parsecommittees.py Mon May 25 15:41:08 2015
@@ -257,14 +257,14 @@ with open("../../site/json/foundation/co
 # detect retired committees to add to committees-retired.json
 for previous in committeesPrevious:
     if not previous['id'] in committeesMap:
-        print("found retired committee: %s" % previous.name)
+        print("found retired committee: %s" % previous['name'])
         previous['retired'] = datetime.date.today().strftime('%Y-%m')
         # remove data that is not useful in a retired committee
         previous.pop('chair', None)
         previous.pop('group', None)
         previous.pop('rdf', None)
         previous.pop('reporting', None)
-        committeesRetired.push(previous)
+        committeesRetired.append(previous)
 with open("../../site/json/foundation/committees-retired.json", "w") as f:
     f.write(json.dumps(committeesRetired, sort_keys=True, indent=0))
     f.close()



Mime
View raw message