community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1698087 - /comdev/reporter.apache.org/trunk/data/parsepmcs.py
Date Thu, 27 Aug 2015 08:13:30 GMT
Author: sebb
Date: Thu Aug 27 08:13:29 2015
New Revision: 1698087

URL: http://svn.apache.org/r1698087
Log:
Sorted output

Modified:
    comdev/reporter.apache.org/trunk/data/parsepmcs.py

Modified: comdev/reporter.apache.org/trunk/data/parsepmcs.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/data/parsepmcs.py?rev=1698087&r1=1698086&r2=1698087&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/data/parsepmcs.py (original)
+++ comdev/reporter.apache.org/trunk/data/parsepmcs.py Thu Aug 27 08:13:29 2015
@@ -84,12 +84,12 @@ for project in pmcs:
     
 print("Writing pmcs.json")
 with open("pmcs.json", "w") as f:
-    f.write(json.dumps(pmcs, indent=1))
+    f.write(json.dumps(pmcs, sort_keys=True, indent=1))
     f.close()
 
 print("Writing projects.json")
 with open("projects.json", "w") as f:
-    f.write(json.dumps(projects, indent=1))
+    f.write(json.dumps(projects, sort_keys=True ,indent=1))
     f.close()
     
     



Mime
View raw message