summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipapython/ipaldap.py2
-rw-r--r--ipaserver/install/ldapupdate.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py
index a48879f0..699a53d0 100644
--- a/ipapython/ipaldap.py
+++ b/ipapython/ipaldap.py
@@ -740,7 +740,7 @@ class LDAPEntry(collections.MutableMapping):
return result
- def commit(self):
+ def reset_modlist(self):
"""
Make the current state of the entry a new reference point for change
tracking.
diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py
index 87bd0c8f..0c44a85a 100644
--- a/ipaserver/install/ldapupdate.py
+++ b/ipaserver/install/ldapupdate.py
@@ -281,7 +281,7 @@ class LDAPUpdate:
def _entry_to_entity(self, ent):
entry = ent.copy()
- entry.commit()
+ entry.reset_modlist()
return entry
def _combine_updates(self, all_updates, update):