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: explicitly scope LDAP
Date Wed, 15 Jun 2016 22:45:35 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

The following commit(s) were added to refs/heads/master by this push:
       new  5507e5d   explicitly scope LDAP
5507e5d is described below

commit 5507e5d55c7c73d030dc9c20f668cfcb937d479b
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed Jun 15 18:45:20 2016 -0400

    explicitly scope LDAP
---
 lib/whimsy/asf/ldap.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 16ac469..bccaf14 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -235,7 +235,7 @@ module ASF
     # dump more information on LDAP errors - modify
     def self.modify(dn, list)
       ASF::LDAP.modify(dn, list)
-    rescue LDAP::ResultError
+    rescue ::LDAP::ResultError
       Wunderbar.warn(list.inspect)
       Wunderbar.warn(dn.to_s)
       raise
@@ -244,7 +244,7 @@ module ASF
     # dump more information on LDAP errors - add
     def self.add(dn, list)
       ASF::LDAP.add(dn, list)
-    rescue LDAP::ResultError
+    rescue ::LDAP::ResultError
       Wunderbar.warn(list.inspect)
       Wunderbar.warn(dn.to_s)
       raise
@@ -253,7 +253,7 @@ module ASF
     # dump more information on LDAP errors - delete
     def self.delete(dn, list)
       ASF::LDAP.delete(dn, list)
-    rescue LDAP::ResultError
+    rescue ::LDAP::ResultError
       Wunderbar.warn(list.inspect)
       Wunderbar.warn(dn.to_s)
       raise

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

Mime
View raw message