You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2019/09/19 09:48:09 UTC
svn commit: r1867167 - /comdev/reporter.apache.org/trunk/scripts/pdata.py
Author: sebb
Date: Thu Sep 19 09:48:09 2019
New Revision: 1867167
URL: http://svn.apache.org/viewvc?rev=1867167&view=rev
Log:
Move doc string to correct location
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=1867167&r1=1867166&r2=1867167&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/pdata.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/pdata.py Thu Sep 19 09:48:09 2019
@@ -196,20 +196,20 @@ def getJIRAS(project):
# json.dump([0,0,None], f, indent=1)
# f.close()
return 0,0, None
-"""
-Reads:
- - committee_info.PMCsummary()
- - data/health.json
-
-@return:
- - dict contains pmc name & chair extracted from committee_info.PMCsummary()
- - list of project names
- - health entry from data/health.json
-"""
-
lastPSummary = 0
def getProjectData(project = None):
+ """
+ Reads:
+ - committee_info.PMCsummary()
+ - data/health.json
+
+ @return:
+ - dict contains pmc name & chair extracted from committee_info.PMCsummary()
+ - list of project names
+ - health entry from data/health.json
+ """
+
global lastPSummary
if lastPSummary < (time.time() - CACHE_TIMEOUT):
global pmcSummary