whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Bazley <s...@apache.org>
Subject [whimsy.git] [1/1] Commit 9375d3d: Syntax: %w() uses space separators, not commas
Date Sat, 23 Jan 2016 17:30:16 GMT
Commit 9375d3d88dd0b612f1f630fdddfcc08387079712:
    Syntax: %w() uses space separators, not commas


Branch: refs/heads/master
Author: Sebb <sebb@apache.org>
Committer: Sebb <sebb@apache.org>
Pusher: sebb <sebb@apache.org>

------------------------------------------------------------
lib/whimsy/asf/ldap.rb                                       | ++ --
------------------------------------------------------------
4 changes: 2 additions, 2 deletions.
------------------------------------------------------------


diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index a2ffe87..b1ff20b 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -352,7 +352,7 @@ def include?(person)
     end
 
     def self.preload
-      Hash[ASF.search_one(base, "cn=*", %w(dn, memberUid)).map do |results|
+      Hash[ASF.search_one(base, "cn=*", %w(dn memberUid)).map do |results|
         cn = results['dn'].first[/^cn=(.*?),/, 1]
         group = ASF::Group.find(cn)
         members = results['memberUid']
@@ -386,7 +386,7 @@ def self.list(filter='cn=*')
     end
 
     def self.preload
-      Hash[ASF.search_one(base, "cn=*", %w(dn, member)).map do |results|
+      Hash[ASF.search_one(base, "cn=*", %w(dn member)).map do |results|
         cn = results['dn'].first[/^cn=(.*?),/, 1]
         committee = ASF::Committee.find(cn)
         members = results['member']

Mime
View raw message