Rename LDAPEntry method commit to reset_modlist.

https://fedorahosted.org/freeipa/ticket/3488
This commit is contained in:
Jan Cholasta
2013-12-10 11:09:56 +01:00
committed by Petr Viktorin
parent d1873a5a13
commit 7b3d9be388
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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):