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: Use the new method to get just the ids
Date Thu, 12 Jul 2018 14:02:20 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 a80efdc  Use the new method to get just the ids
a80efdc is described below

commit a80efdceb25e03ae4b615be02de60235ec2504d2
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Jul 12 15:02:19 2018 +0100

    Use the new method to get just the ids
---
 www/secretary/icla-lint.cgi | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/www/secretary/icla-lint.cgi b/www/secretary/icla-lint.cgi
index 4b18c3b..1a795c8 100755
--- a/www/secretary/icla-lint.cgi
+++ b/www/secretary/icla-lint.cgi
@@ -6,8 +6,7 @@ require 'wunderbar/script'
 require 'ruby2js/filter/functions'
 require 'whimsy/asf'
 
-ldaplist = ASF::Person.list
-ldap = ldaplist.map(&:id)
+ldap = ASF::Person.listids
 errors = 0
 
 _html do
@@ -23,7 +22,7 @@ _html do
 
   _h2_ 'LDAP Status'
   _div do 
-    _label "#{ldaplist.length} entries found."
+    _label "#{ldap.length} entries found."
    end
 
   _h2_ 'Error Status'


Mime
View raw message