Commit 865ce933 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Remove unused private methods.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38223 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dbde7843
...@@ -366,9 +366,7 @@ class OrderBuilder(XMLObject, Amount, Predicate): ...@@ -366,9 +366,7 @@ class OrderBuilder(XMLObject, Amount, Predicate):
if x.getPortalType() == delivery_portal_type] if x.getPortalType() == delivery_portal_type]
else: else:
delivery_to_update_list = [] delivery_to_update_list = []
# We do not want to update the same object more than twice in one
# _deliveryGroupProcessing().
self._resetUpdated()
delivery_list = self._processDeliveryGroup( delivery_list = self._processDeliveryGroup(
delivery_module, delivery_module,
movement_group_node, movement_group_node,
...@@ -808,21 +806,6 @@ class OrderBuilder(XMLObject, Amount, Predicate): ...@@ -808,21 +806,6 @@ class OrderBuilder(XMLObject, Amount, Predicate):
obj = aq_parent(aq_inner(obj)) obj = aq_parent(aq_inner(obj))
return obj return obj
def _isUpdated(self, obj, level):
tv = getTransactionalVariable(self)
return level in tv['builder_processed_list'].get(obj, [])
def _setUpdated(self, obj, level):
tv = getTransactionalVariable(self)
if tv.get('builder_processed_list', None) is None:
self._resetUpdated()
tv['builder_processed_list'][obj] = \
tv['builder_processed_list'].get(obj, []) + [level]
def _resetUpdated(self):
tv = getTransactionalVariable(self)
tv['builder_processed_list'] = {}
# for backward compatibilities. # for backward compatibilities.
_deliveryGroupProcessing = _processDeliveryGroup _deliveryGroupProcessing = _processDeliveryGroup
_deliveryLineGroupProcessing = _processDeliveryLineGroup _deliveryLineGroupProcessing = _processDeliveryLineGroup
......
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