whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Might not be defined
Date Thu, 25 Jan 2018 11:13:35 GMT
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 8be7525  Might not be defined
8be7525 is described below

commit 8be7525116751d8a0c9666c569d3ecc675ffd42a
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Jan 25 11:13:33 2018 +0000

    Might not be defined
---
 www/roster/models/committee.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/roster/models/committee.rb b/www/roster/models/committee.rb
index 7af3e43..07b821a 100644
--- a/www/roster/models/committee.rb
+++ b/www/roster/models/committee.rb
@@ -76,7 +76,9 @@ class Committee
     asfMembers = []
     # Also look for non-ASF mod emails
     nonASFmails=Hash.new
-    moderators.each { |list,mods| mods.each {|m| nonASFmails[m]='' unless m.end_with? '@apache.org'}
}
+    if moderators
+      moderators.each { |list,mods| mods.each {|m| nonASFmails[m]='' unless m.end_with? '@apache.org'}
}
+    end
     if unMatchedSubs.length > 0 or nonASFmails.length > 0
       load_emails # set up @people
       unMatchedSubs.each{ |addr|

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

Mime
View raw message