mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 22:27:41 -05:00
baseldap: Fix MidairCollision instantiation during entry modification
https://fedorahosted.org/freeipa/ticket/6097 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
1 parent
ae623864ee
commit
dc62dd8c90
1 file changed
+2
-2
@@ -1466,7 +1466,7 @@ class LDAPUpdate(LDAPQuery, crud.Update):
|
||||
entry_attrs.dn, attrs_list)
|
||||
except errors.NotFound:
|
||||
raise errors.MidairCollision(
|
||||
format=_('the entry was deleted while being modified')
|
||||
message=_('the entry was deleted while being modified')
|
||||
)
|
||||
|
||||
self.obj.get_indirect_members(entry_attrs, attrs_list)
|
||||
@@ -2344,7 +2344,7 @@ class BaseLDAPModAttribute(LDAPQuery):
|
||||
entry_attrs.dn, attrs_list)
|
||||
except errors.NotFound:
|
||||
raise errors.MidairCollision(
|
||||
format=_('the entry was deleted while being modified')
|
||||
message=_('the entry was deleted while being modified')
|
||||
)
|
||||
|
||||
for callback in self.get_callbacks('post'):
|
||||
|
||||
Reference in new issue
Block a user