Commit d5b62e05 authored by Alexandre Boeglin's avatar Alexandre Boeglin

_isTreeDelivered: fix wrong "if" statement

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17766 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93cfb6d2
......@@ -517,7 +517,7 @@ class SimulationMovement(Movement):
cache_enabled = cache.get(TREE_DELIVERED_CACHE_ENABLED, 0)
def getTreeDelivered(movement, ignore_first=0):
if ignore_first:
if not ignore_first:
if len(movement.getDeliveryList()) > 0:
return True
for applied_rule in movement.objectValues():
......
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