whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] 02/02: bug fixes
Date Mon, 20 Jun 2016 16:33:11 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

commit 9d85f4adcd1978ec94147654829bc4902b011149
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Mon Jun 20 12:32:55 2016 -0400

    bug fixes
---
 lib/whimsy/asf/ldap.rb                       | 4 ++--
 www/board/agenda/views/actions/todos.json.rb | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 59a268b..e1361fc 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -251,8 +251,8 @@ module ASF
     end
 
     # dump more information on LDAP errors - delete
-    def self.delete(dn, list)
-      ASF.ldap.delete(dn, list)
+    def self.delete(dn)
+      ASF.ldap.delete(dn)
     rescue ::LDAP::ResultError
       Wunderbar.warn(list.inspect)
       Wunderbar.warn(dn.to_s)
diff --git a/www/board/agenda/views/actions/todos.json.rb b/www/board/agenda/views/actions/todos.json.rb
index ad6c844..893e013 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -66,7 +66,9 @@ if @establish and env.password
 
   # update LDAP, committee-info.txt
   establish.each do |pmc|
-    resolution = agenda.find {|item| item['title'] == "Establish #{pmc}"}
+    resolution = Agenda.parse(agenda, :full).find do |item| 
+      item['title'] == "Establish #{pmc}"
+    end
 
     chair = ASF::Person.find(resolution['chair'])
     members = resolution['people'].map {|id, hash| ASF::Person.find(id)}

-- 
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <commits@whimsical.apache.org>.

Mime
View raw message