community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1671703 - /comdev/projects.apache.org/scripts/cronjobs/parsechairs.py
Date Mon, 06 Apr 2015 22:14:31 GMT
Author: hboutemy
Date: Mon Apr  6 22:14:31 2015
New Revision: 1671703

URL: http://svn.apache.org/r1671703
Log:
minimal formatting for chairs.json

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

Modified: comdev/projects.apache.org/scripts/cronjobs/parsechairs.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/parsechairs.py?rev=1671703&r1=1671702&r2=1671703&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/parsechairs.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/parsechairs.py Mon Apr  6 22:14:31 2015
@@ -22,11 +22,11 @@ for committer in re.findall(r"<tr>[\s\S]
             project = renames[project]
         person = m.group(2)
         chairs[project] = person
-        
+
 
 print("Writing chairs.json")
 with open("../../site/json/foundation/chairs.json", "w") as f:
-    f.write(json.dumps(chairs))
+    f.write(json.dumps(chairs, sort_keys=True, indent=0))
     f.close()
 
 print("All done!")
\ No newline at end of file



Mime
View raw message