From f8ad7cb96f065ca0dc557d8be95fd33a95d34d17 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 23 Jan 2013 09:27:05 -0500 Subject: Replace addEntry with add_entry Part of the work for: https://fedorahosted.org/freeipa/ticket/2660 --- ipaserver/install/ldapupdate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipaserver/install/ldapupdate.py') 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) -- cgit