summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/ldapupdate.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-01-23 09:27:05 -0500
committerMartin Kosek <mkosek@redhat.com>2013-03-01 16:59:45 +0100
commitf8ad7cb96f065ca0dc557d8be95fd33a95d34d17 (patch)
tree4906b03d1f5c0517107ac1ab0953e123f82c709a /ipaserver/install/ldapupdate.py
parentaaa41b21457ed1ea593845ac05f1e72cfe83ab7f (diff)
downloadfreeipa.git-f8ad7cb96f065ca0dc557d8be95fd33a95d34d17.tar.gz
freeipa.git-f8ad7cb96f065ca0dc557d8be95fd33a95d34d17.tar.xz
freeipa.git-f8ad7cb96f065ca0dc557d8be95fd33a95d34d17.zip
Replace addEntry with add_entry
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
Diffstat (limited to 'ipaserver/install/ldapupdate.py')
-rw-r--r--ipaserver/install/ldapupdate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py
index 16a47a88..aaef1c71 100644
--- a/ipaserver/install/ldapupdate.py
+++ b/ipaserver/install/ldapupdate.py
@@ -428,7 +428,7 @@ class LDAPUpdate:
self.debug("Task id: %s", dn)
if self.live_run:
- self.conn.addEntry(e)
+ self.conn.add_entry(e)
return dn
@@ -769,7 +769,7 @@ class LDAPUpdate:
# dn defined. In that case there is nothing to do.
# It means the entry doesn't exist, so skip it.
try:
- self.conn.addEntry(entry)
+ self.conn.add_entry(entry)
except errors.NotFound:
# parent entry of the added entry does not exist
# this may not be an error (e.g. entries in NIS container)