You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2015/10/12 18:44:24 UTC

svn commit: r1708159 - /comdev/reporter.apache.org/trunk/site/jiraversions.py

Author: sebb
Date: Mon Oct 12 16:44:24 2015
New Revision: 1708159

URL: http://svn.apache.org/viewvc?rev=1708159&view=rev
Log:
Easier to read

Modified:
    comdev/reporter.apache.org/trunk/site/jiraversions.py

Modified: comdev/reporter.apache.org/trunk/site/jiraversions.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/jiraversions.py?rev=1708159&r1=1708158&r2=1708159&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/jiraversions.py (original)
+++ comdev/reporter.apache.org/trunk/site/jiraversions.py Mon Oct 12 16:44:24 2015
@@ -69,7 +69,8 @@ if jiraname and user and (isMember(user)
             f.close()
     except Exception as e:
         # Use json.dumps to ensure that quotes are handled correctly
-        print("Content-Type: application/json\r\n\r\n%s\r\n" % json.dumps({"status": str(e)}))
+        print("Content-Type: application/json\r\n\r\n")
+        print(json.dumps({"status": str(e)}))
     else:
         print("Content-Type: application/json\r\n\r\n")
         print(json.dumps({'status': 'Fetched', 'versions': rdata, 'added': added}, indent=1))