community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1707374 - /comdev/reporter.apache.org/trunk/site/getjson.py
Date Wed, 07 Oct 2015 19:46:26 GMT
Author: sebb
Date: Wed Oct  7 19:46:26 2015
New Revision: 1707374

URL: http://svn.apache.org/viewvc?rev=1707374&view=rev
Log:
Allow easier testing via CLI

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

Modified: comdev/reporter.apache.org/trunk/site/getjson.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/getjson.py?rev=1707374&r1=1707373&r2=1707374&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Wed Oct  7 19:46:26 2015
@@ -31,7 +31,7 @@ import os, sys, re, json, subprocess, ti
 import base64, urllib2, cgi
 
 form = cgi.FieldStorage();
-oproject = form['only'].value if ('only' in form and len(form['only'].value) > 0) else
None
+oproject = form['only'].value if ('only' in form and len(form['only'].value) > 0) else
os.environ['ONLY'] if 'ONLY' in os.environ else None
 
 
 jmap = {



Mime
View raw message