Fix reference to _handle_errors() in remove_principal_key()

It incorrectly was trying to call the class method _handle_errors() instead
of the global function.
This commit is contained in:
Rob Crittenden 2010-08-10 15:03:11 -04:00
parent d0a60f3a15
commit 6befd08973

View File

@ -839,7 +839,7 @@ class ldap2(CrudBackend, Encoder):
try:
self.conn.modify_s(dn, mod)
except _ldap.LDAPError, e:
self._handle_errors(e, **{})
_handle_errors(e, **{})
# CrudBackend methods