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/17 21:13:44 UTC

svn commit: r1867076 - /comdev/reporter.apache.org/trunk/scripts/pdata.py

Author: sebb
Date: Tue Sep 17 21:13:44 2019
New Revision: 1867076

URL: http://svn.apache.org/viewvc?rev=1867076&view=rev
Log:
Bad indentation

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=1867076&r1=1867075&r2=1867076&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/pdata.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/pdata.py Tue Sep 17 21:13:44 2019
@@ -214,27 +214,27 @@ Reads:
 lastPSummary = 0
 
 def getProjectData(project = None):
-        global lastPSummary
-        if lastPSummary < (time.time() - CACHE_TIMEOUT):
-            global pmcSummary
-            pmcSummary = committee_info.PMCsummary()
-            lastPSummary = time.time()
-        x = {}
-        y = []
-        z = {}
-        for xproject in pmcSummary:
-            y.append(xproject)
-            if xproject == project:
-                x['name'] = pmcSummary[project]['name']
-                x['chair'] = pmcSummary[project]['chair']
-        if project:
-            for entry in dataHealth:
-                if entry['group'] == project:
-                    z = entry
-            for xtlp in charters:
-                if xtlp.get('id') == project:
-                    x['charter'] = xtlp.get('charter', '')
-        return x, y, z;
+    global lastPSummary
+    if lastPSummary < (time.time() - CACHE_TIMEOUT):
+        global pmcSummary
+        pmcSummary = committee_info.PMCsummary()
+        lastPSummary = time.time()
+    x = {}
+    y = []
+    z = {}
+    for xproject in pmcSummary:
+        y.append(xproject)
+        if xproject == project:
+            x['name'] = pmcSummary[project]['name']
+            x['chair'] = pmcSummary[project]['chair']
+    if project:
+        for entry in dataHealth:
+            if entry['group'] == project:
+                z = entry
+        for xtlp in charters:
+            if xtlp.get('id') == project:
+                x['charter'] = xtlp.get('charter', '')
+    return x, y, z
 
 def getReleaseData(project):
     """Reads data/releases/%s.json and returns the contents"""