From 7b3d9be388f8e3da3959912061513e40b31926c5 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Jan 10 2014 13:38:29 +0000 Subject: Rename LDAPEntry method commit to reset_modlist. https://fedorahosted.org/freeipa/ticket/3488 --- diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py index a48879f..699a53d 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 87bd0c8..0c44a85 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):