summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/ldap2.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-08-10 15:03:11 -0400
committerRob Crittenden <rcritten@redhat.com>2010-08-10 15:03:11 -0400
commit6befd08973183f0aa9b681a1d7fd0b9a3a89fe08 (patch)
treeeb5a6c6c0a266ab8ff247d9a63c1de92cf62b950 /ipaserver/plugins/ldap2.py
parentd0a60f3a15e9d387601257a802310e5b691599a7 (diff)
downloadfreeipa-6befd08973183f0aa9b681a1d7fd0b9a3a89fe08.tar.gz
freeipa-6befd08973183f0aa9b681a1d7fd0b9a3a89fe08.tar.xz
freeipa-6befd08973183f0aa9b681a1d7fd0b9a3a89fe08.zip
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.
Diffstat (limited to 'ipaserver/plugins/ldap2.py')
-rw-r--r--ipaserver/plugins/ldap2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py
index 3c536e241..81c2aeb53 100644
--- a/ipaserver/plugins/ldap2.py
+++ b/ipaserver/plugins/ldap2.py
@@ -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