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/06 21:02:23 UTC
svn commit: r1864566 - /comdev/reporter.apache.org/trunk/site/getjson.py
Author: humbedooh
Date: Tue Aug 6 21:02:23 2019
New Revision: 1864566
URL: http://svn.apache.org/viewvc?rev=1864566&view=rev
Log:
punt this till after cache test - if we don't need it, no sense in loading it
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=1864566&r1=1864565&r2=1864566&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Tue Aug 6 21:02:23 2019
@@ -246,11 +246,6 @@ def getReleaseData(project):
if re.match(r"^[-a-zA-Z0-9_.]+$", user):
- pmcSummary = committee_info.PMCsummary()
- dataHealth = readJson(RAOHOME+"data/health.json", [])
- pchanges = readJson(RAOHOME+"data/pmcs.json")
- cchanges = readJson(RAOHOME+"data/projects.json")
- bugzillastats = readJson(RAOHOME+"data/bugzillastats.json", {})
isMember = isMember(user)
groups = getPMCs(user)
@@ -271,6 +266,12 @@ if re.match(r"^[-a-zA-Z0-9_.]+$", user):
sys.stdout.write("Content-Type: application/json\r\nContent-Length: %u\r\n\r\n" % (len(dump)))
sys.stdout.write(dump)
sys.exit(0)
+
+ pmcSummary = committee_info.PMCsummary()
+ dataHealth = readJson(RAOHOME+"data/health.json", [])
+ pchanges = readJson(RAOHOME+"data/pmcs.json")
+ cchanges = readJson(RAOHOME+"data/projects.json")
+ bugzillastats = readJson(RAOHOME+"data/bugzillastats.json", {})
mlstats = {}
ml = readJson(RAOHOME+"data/mailinglists.json")