You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2018/05/02 19:37:33 UTC

[whimsy] branch master updated: Should not have dropped uniq

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 d83c24f  Should not have dropped uniq
d83c24f is described below

commit d83c24fbd6812501ffa45091eec8b18449f93f29
Author: Sebb <se...@apache.org>
AuthorDate: Wed May 2 20:37:31 2018 +0100

    Should not have dropped uniq
---
 lib/whimsy/asf/committee.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index eddcdba..95b6cd9 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -368,7 +368,7 @@ module ASF
       # Extract officers
       # first drop leading text so we only match officers at end of section
       @officers = head.sub(/.*?also has .*? Officers/m,'').
-        scan(/^[ \t]+(\w.*?)(?:[ \t][ \t]|[ \t]?$)/).flatten.
+        scan(/^[ \t]+(\w.*?)(?:[ \t][ \t]|[ \t]?$)/).flatten.uniq.
         map {|name| list[name]}
 
       # for each committee in section 3

-- 
To stop receiving notification emails like this one, please contact
sebb@apache.org.