community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1728876 - /comdev/reporter.apache.org/trunk/site/chi.py
Date Sat, 06 Feb 2016 19:19:08 GMT
Author: sebb
Date: Sat Feb  6 19:19:08 2016
New Revision: 1728876

URL: http://svn.apache.org/viewvc?rev=1728876&view=rev
Log:
chair info not used here

Modified:
    comdev/reporter.apache.org/trunk/site/chi.py

Modified: comdev/reporter.apache.org/trunk/site/chi.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/chi.py?rev=1728876&r1=1728875&r2=1728876&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/chi.py (original)
+++ comdev/reporter.apache.org/trunk/site/chi.py Sat Feb  6 19:19:08 2016
@@ -31,12 +31,6 @@ def getProjectData(project):
                     y.append(xproject)
                     if xproject == project:
                         x['name'] = p[project]['name']
-            with open("/var/www/projects.apache.org/site/json/foundation/chairs.json", "r")
as f:
-                c = json.loads(f.read())
-                f.close()
-                for xproject in c:
-                    if xproject.lower() == x['name'].lower():
-                        x['chair'] = c[xproject]
 
         return x, y;
     except:
@@ -50,12 +44,6 @@ def getProjectData(project):
                 if xproject == project:
                     x['name'] = p[project]['name']
 
-        with open("/var/www/projects.apache.org/site/json/foundation/chairs.json", "r") as
f:
-            c = json.loads(f.read())
-            f.close()
-            for xproject in c:
-                if 'name' in x and xproject == x['name']:
-                    x['chair'] = c[xproject]
         return x,y
 
 def getReleaseData(project):



Mime
View raw message