community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1708310 - /comdev/reporter.apache.org/trunk/site/addrelease.py
Date Tue, 13 Oct 2015 09:28:12 GMT
Author: sebb
Date: Tue Oct 13 09:28:11 2015
New Revision: 1708310

URL: http://svn.apache.org/viewvc?rev=1708310&view=rev
Log:
Don't invoke LDAP unless data has been provided

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

Modified: comdev/reporter.apache.org/trunk/site/addrelease.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/addrelease.py?rev=1708310&r1=1708309&r2=1708310&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/addrelease.py (original)
+++ comdev/reporter.apache.org/trunk/site/addrelease.py Tue Oct 13 09:28:11 2015
@@ -41,9 +41,8 @@ def getReleaseData(committee):
 
 saved = False
 err = None
-committees = getPMCs(user)
 if date != None and version and committee:
-    if committee in committees or isMember(user):
+    if committee in getPMCs(user) or isMember(user):
         rdata = getReleaseData(committee)
         if date > 0:
             rdata[version] = date



Mime
View raw message