community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1677347 - /comdev/projects.apache.org/scripts/cronjobs/podlings.py
Date Sat, 02 May 2015 20:12:19 GMT
Author: hboutemy
Date: Sat May  2 20:12:18 2015
New Revision: 1677347

URL: http://svn.apache.org/r1677347
Log:
sort keys to avoid daily svn content update without data change

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

Modified: comdev/projects.apache.org/scripts/cronjobs/podlings.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/podlings.py?rev=1677347&r1=1677346&r2=1677347&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/podlings.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/podlings.py Sat May  2 20:12:18 2015
@@ -88,7 +88,7 @@ for i in js:
     
 print("Writing evolution.json")
 with open('../../site/json/foundation/evolution.json', 'w') as f:
-    f.write(json.dumps(js, indent=0))
+    f.write(json.dumps(js, sort_keys=True, indent=0))
     f.close()
 
 print("Writing podlings.json")



Mime
View raw message