community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1739838 - /comdev/reporter.apache.org/trunk/site/getjson.py
Date Tue, 19 Apr 2016 01:15:16 GMT
Author: sebb
Date: Tue Apr 19 01:15:16 2016
New Revision: 1739838

URL: http://svn.apache.org/viewvc?rev=1739838&view=rev
Log:
Ensure keys are listed for traffic server and Cordova etc

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=1739838&r1=1739837&r2=1739838&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Tue Apr 19 01:15:16 2016
@@ -292,11 +292,13 @@ if re.match(r"^[-a-zA-Z0-9_.]+$", user):
         # a PMC may have projects using Bugzilla *and* JIRA - e.g. Tomcat - (or neither)
         jiraname = group.upper()
         if group in jmap:
+            keys[group] = []
             for jiraname in jmap[group]:
                 x,y, p = getJIRAS(jiraname)
                 jdata[group][0] += x
                 jdata[group][1] += y
                 jdata[group][2] = p
+                keys[group].append(jiraname)
         elif group in ddata and 'name' in ddata[group]:
             jiras = getJIRAProjects(ddata[group]['name'])
             keys[group] = jiras
@@ -306,6 +308,7 @@ if re.match(r"^[-a-zA-Z0-9_.]+$", user):
                 jdata[group][1] += y
                 jdata[group][2] = p
         elif jiraname:
+            keys[group]=[jiraname]
             x,y, p= getJIRAS(jiraname)
             jdata[group][0] += x
             jdata[group][1] += y



Mime
View raw message