Author: humbedooh Date: Tue Aug 6 23:43:15 2019 New Revision: 1864575 URL: http://svn.apache.org/viewvc?rev=1864575&view=rev Log: need this :o
Modified: comdev/reporter.apache.org/trunk/scripts/wsgi.py Modified: comdev/reporter.apache.org/trunk/scripts/wsgi.py URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/wsgi.py?rev=1864575&r1=1864574&r2=1864575&view=diff ============================================================================== --- comdev/reporter.apache.org/trunk/scripts/wsgi.py (original) +++ comdev/reporter.apache.org/trunk/scripts/wsgi.py Tue Aug 6 23:43:15 2019 @@ -5,12 +5,14 @@ import json import pdata import time import re +import committee_info CACHE_TIMEOUT = 14400 def app(environ, start_fn): committers = pdata.loadJson(pdata.COMMITTER_INFO)['people'] + pmcSummary = committee_info.PMCsummary() project = environ.get('QUERY_STRING') user = environ.get('HTTP_X_AUTHENTICATED_USER') @@ -50,6 +52,7 @@ def app(environ, start_fn): dumps['you'] = committers[user] dumps['all'] = allpmcs dumps['pmcs'] = groups + dumps['pmcsummary'] = pmcSummary output = dumps start_fn('200 OK', [('Content-Type', 'application/json')])