summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2016-07-25 14:05:08 +0200
committerMartin Babinsky <mbabinsk@redhat.com>2016-07-27 14:11:52 +0200
commitdc62dd8c908b3c8a8c166006d2d4e71dde99883e (patch)
treed883d83931059d3803b8c495b5f3b8e5dc509bcb /ipaserver/plugins
parentae623864ee6e5dc2f6d254111c9cdd369fc144a8 (diff)
downloadfreeipa-dc62dd8c908b3c8a8c166006d2d4e71dde99883e.tar.gz
freeipa-dc62dd8c908b3c8a8c166006d2d4e71dde99883e.tar.xz
freeipa-dc62dd8c908b3c8a8c166006d2d4e71dde99883e.zip
baseldap: Fix MidairCollision instantiation during entry modification
https://fedorahosted.org/freeipa/ticket/6097 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r--ipaserver/plugins/baseldap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/plugins/baseldap.py b/ipaserver/plugins/baseldap.py
index 6107e43a6..f7844e3e7 100644
--- a/ipaserver/plugins/baseldap.py
+++ b/ipaserver/plugins/baseldap.py
@@ -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'):