community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864592 - /comdev/reporter.apache.org/trunk/scripts/wsgi.py
Date Wed, 07 Aug 2019 05:36:49 GMT
Author: humbedooh
Date: Wed Aug  7 05:36:49 2019
New Revision: 1864592

URL: http://svn.apache.org/viewvc?rev=1864592&view=rev
Log:
sort keys as well

Modified:
    comdev/reporter.apache.org/trunk/scripts/wsgi.py

Modified: comdev/reporter.apache.org/trunk/scripts/wsgi.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/wsgi.py?rev=1864592&r1=1864591&r2=1864592&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/wsgi.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/wsgi.py Wed Aug  7 05:36:49 2019
@@ -59,4 +59,4 @@ def app(environ, start_fn):
         
     start_fn('200 OK', [('Content-Type', 'application/json')])
     
-    return [json.dumps(output, indent = 2).encode('ascii')]
+    return [json.dumps(output, indent = 2, sort_keys = True).encode('ascii')]



Mime
View raw message