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 2016/02/06 20:19:08 UTC

svn commit: r1728876 - /comdev/reporter.apache.org/trunk/site/chi.py

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):