You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/04/18 23:58:53 UTC

[whimsy] branch master updated: oops, got that backwards

This is an automated email from the ASF dual-hosted git repository.

rubys 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  c7c3e72   oops, got that backwards
c7c3e72 is described below

commit c7c3e7284c06b090f2c6685d6b7dd1bd0e35b990
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Apr 18 19:58:15 2017 -0400

    oops, got that backwards
---
 lib/whimsy/asf/ldap.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 70db65e..3245d4e 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -488,7 +488,7 @@ module ASF
     # return person only if it actually exits
     def self.[] name
       person = super
-      person.attrs['dn'] ? nil : person
+      person.attrs['dn'] ? person : nil
     end
 
     def attrs

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