community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1867166 - /comdev/reporter.apache.org/trunk/scripts/pdata.py
Date Thu, 19 Sep 2019 09:47:22 GMT
Author: sebb
Date: Thu Sep 19 09:47:22 2019
New Revision: 1867166

URL: http://svn.apache.org/viewvc?rev=1867166&view=rev
Log:
mailinglists.json was read but not used

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=1867166&r1=1867165&r2=1867166&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/pdata.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/pdata.py Thu Sep 19 09:47:22 2019
@@ -13,7 +13,6 @@
         data/releases/%s.json
         data/pmcs.json
         data/projects.json
-        data/mailinglists.json
         data/maildata_extended.json
         https://whimsy.apache.org/public/member-info.json
         https://whimsy.apache.org/public/public_ldap_projects.json
@@ -243,7 +242,6 @@ pchanges = None
 cchanges = None
 bugzillastats = None
 lastRead = 0
-ml = None
 mld = None
 pmcdates = None
 checker_json = None
@@ -257,14 +255,13 @@ def generate(user, project, runkibble):
         
         # Check if we need to re-read json inputs...
         if lastRead < (time.time() - CACHE_TIMEOUT):
-            global pmcSummary, dataHealth,pchanges, cchanges, bugzillastats, ml, mld, pmcdates,
checker_json
+            global pmcSummary, dataHealth,pchanges, cchanges, bugzillastats, mld, pmcdates,
checker_json
             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", {})
             mld = readJson(RAOHOME+"data/maildata_extended.json")
-            ml = readJson(RAOHOME+"data/mailinglists.json")
             pmcdates = readJson(RAOHOME+"data/pmcdates.json")
             # fetch checker_json from checker.apache.org ; use cache as fallback
             try:



Mime
View raw message