This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new e3cd6ce  nonpmc? was not working for podlings
e3cd6ce is described below

commit e3cd6ce4f5823c929c182e99a0312fc55a425dbc
Author: Sebb <[email protected]>
AuthorDate: Mon Mar 11 23:15:44 2019 +0000

    nonpmc? was not working for podlings
---
 lib/whimsy/asf/committee.rb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index 8a991a3..01ec4e4 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -524,8 +524,15 @@ module ASF
     # if true, this committee is not a PMC.  
     # Data is obtained from <tt>committee-info.txt</tt>.
     def nonpmc?
+      # cannot use Committee.nonpmcs.include? self because self may not be a 
proper Committee
+      ! pmc?
+    end
+
+    # if true, this committee is a PMC.  
+    # Data is obtained from <tt>committee-info.txt</tt>.
+    def pmc?
       Committee.load_committee_info # ensure data is there
-      Committee.nonpmcs.include? self
+      Committee.pmcs.include? self
     end
   end
 end

Reply via email to