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 16:19:25 UTC

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

Author: humbedooh
Date: Mon Aug  5 16:19:24 2019
New Revision: 1864449

URL: http://svn.apache.org/viewvc?rev=1864449&view=rev
Log:
don't wanna try tupling None...

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=1864449&r1=1864448&r2=1864449&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Mon Aug  5 16:19:24 2019
@@ -383,7 +383,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 jdata and oproject in jdata and jdata[oproject][2]:
                 cmd += tuple(jdata[oproject][2])
             txt = subprocess.check_output(cmd, env = xenv)
             kibble = json.loads(txt)