whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: oops, got that backwards
Date Tue, 18 Apr 2017 23:58:53 GMT
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 <rubys@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" <commits@whimsical.apache.org>'].

Mime
View raw message