You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/05 09:06:31 UTC

svn commit: r1864421 - /comdev/reporter.apache.org/trunk/site/getjson.py

Author: humbedooh
Date: Mon Aug  5 09:06:31 2019
New Revision: 1864421

URL: http://svn.apache.org/viewvc?rev=1864421&view=rev
Log:
use ddata instead of jdata which may not be present :\

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=1864421&r1=1864420&r2=1864421&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Mon Aug  5 09:06:31 2019
@@ -382,7 +382,7 @@ if re.match(r"^[-a-zA-Z0-9_.]+$", user):
             xenv = os.environ.copy()
             del xenv['SCRIPT_NAME']
             cmd = ('%s/site/wizard/kibble.py' % RAOHOME_FULL, oproject)
-            if jdata and oproject in jdata:
+            if ddata and oproject in ddata:
                 cmd += tuple(jdata[oproject][2])
             txt = subprocess.check_output(cmd, env = xenv)
             kibble = json.loads(txt)