community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1867167 - /comdev/reporter.apache.org/trunk/scripts/pdata.py
Date Thu, 19 Sep 2019 09:48:09 GMT
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



Mime
View raw message