Commit 187c6554 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: Followup of 47b14fd4 making sure that there is only one...

ZODB Components: Followup of 47b14fd4 making sure that there is only one Delivery to update (as it was before that commit).
parent d9fbf632
......@@ -477,6 +477,7 @@ class BuilderMixin(XMLObject, Amount, Predicate):
not self._isUpdated(x, 'delivery')]
if merge_delivery:
# We must have only one delivery to update in the case of merge
assert len(delivery_to_update_list) == 1
delivery = delivery_to_update_list[0]
property_dict = {}
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment