Author: humbedooh
Date: Fri Apr 24 21:49:49 2020
New Revision: 1876952
URL: http://svn.apache.org/viewvc?rev=1876952&view=rev
Log:
reload projects on usage here...
Modified:
comdev/reporter.apache.org/trunk/scripts/pdata.py
Modified: comdev/reporter.apache.org/trunk/scripts/pdata.py
URL:
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/pdata.py?rev=1876952&r1=1876951&r2=1876952&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/pdata.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/pdata.py Fri Apr 24 21:49:49 2020
@@ -94,6 +94,7 @@ charters = loadJson(DESCRIPTIONS)
def getPMCs(uid):
"""Returns the array of LDAP committee groups to which the uid belongs.
Excludes incubator"""
groups = []
+ projects = loadJson(PROJECTS)['projects']
for group in projects:
if group != "incubator" and 'pmc' in projects[group]:
if uid in projects[group]['owners']: