Commit a27de5ba authored by Romain Courteaud's avatar Romain Courteaud

Fix typo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16602 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 46efa3cf
......@@ -328,7 +328,7 @@ class OrderBuilder(XMLObject, Amount, Predicate):
self.getDeliveryPortalType():
delivery = delivery_to_update
break
if delivery == None:
if delivery is None:
# Create delivery
new_delivery_id = str(delivery_module.generateNewId())
delivery = delivery_module.newContent(
......@@ -376,7 +376,7 @@ class OrderBuilder(XMLObject, Amount, Predicate):
delivery_line = delivery_line_to_update
update_existing_line = 1
break
if delivery_line == None:
if delivery_line is None:
# Create delivery line
new_delivery_line_id = str(delivery.generateNewId())
delivery_line = delivery.newContent(
......
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