Commit c4aa3bed authored by Jérome Perrin's avatar Jérome Perrin

pdbs

parent e41d4e6f
...@@ -443,6 +443,7 @@ class BuilderMixin(XMLObject, Amount, Predicate): ...@@ -443,6 +443,7 @@ class BuilderMixin(XMLObject, Amount, Predicate):
if delivery is None: if delivery is None:
if not self.isDeliveryCreatable(): if not self.isDeliveryCreatable():
import ipdb; ipdb.set_trace()
raise SelectMethodError('No updatable delivery found with %s' \ raise SelectMethodError('No updatable delivery found with %s' \
% (self.getPath(),)) % (self.getPath(),))
......
...@@ -117,6 +117,7 @@ class MovementCollectionUpdaterMixin: ...@@ -117,6 +117,7 @@ class MovementCollectionUpdaterMixin:
no_match = False no_match = False
break break
if no_match: if no_match:
import ipdb; ipdb.set_trace()
# There is no matching. # There is no matching.
# So, let us add the decision movements to no_group_list # So, let us add the decision movements to no_group_list
no_group_list.append(decision_movement) no_group_list.append(decision_movement)
......
...@@ -348,6 +348,7 @@ class RuleMixin(Predicate): ...@@ -348,6 +348,7 @@ class RuleMixin(Predicate):
""" """
# Sample implementation - but it actually looks very generic # Sample implementation - but it actually looks very generic
#import ipdb; ipdb.set_trace()
# Case 1: movements which are not needed # Case 1: movements which are not needed
if prevision_movement is None: if prevision_movement is None:
# decision_movement_list contains simulation movements which must # decision_movement_list contains simulation movements which must
...@@ -425,6 +426,7 @@ class RuleMixin(Predicate): ...@@ -425,6 +426,7 @@ class RuleMixin(Predicate):
movement_collection_diff.addUpdatableMovement(decision_movement, kw) movement_collection_diff.addUpdatableMovement(decision_movement, kw)
else: else:
if decision_movement.isFrozen(): if decision_movement.isFrozen():
import ipdb; ipdb.set_trace()
# Frozen must be compensated # Frozen must be compensated
if not _compare(divergence_tester_list, prevision_movement, decision_movement): if not _compare(divergence_tester_list, prevision_movement, decision_movement):
new_movement = decision_movement.asContext( new_movement = decision_movement.asContext(
......
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