Commit 1bfd8741 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove rule's getSolverList() methods that are never working.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36627 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 13e6091a
...@@ -94,12 +94,6 @@ class DeliveryRule(Rule): ...@@ -94,12 +94,6 @@ class DeliveryRule(Rule):
""" """
return 0 return 0
security.declareProtected(Permissions.AccessContentsInformation, 'getSolverList')
def getSolverList(self, applied_rule):
"""
Returns a list Divergence solvers
"""
# Deliverability / orderability # Deliverability / orderability
def isOrderable(self, movement): def isOrderable(self, movement):
return 1 return 1
......
...@@ -200,12 +200,6 @@ class InvoiceTransactionRule(Rule, PredicateMatrix): ...@@ -200,12 +200,6 @@ class InvoiceTransactionRule(Rule, PredicateMatrix):
# def getDivergenceList(self, applied_rule): # def getDivergenceList(self, applied_rule):
# """ # """
# Returns a list Divergence descriptors # Returns a list Divergence descriptors
# """
#
# security.declareProtected(Permissions.View, 'getSolverList')
# def getSolverList(self, applied_rule):
# """
# Returns a list Divergence solvers
# """ # """
# Deliverability / orderability # Deliverability / orderability
......
...@@ -293,12 +293,6 @@ class TransformationRule(TransformationSourcingRuleMixin, Rule): ...@@ -293,12 +293,6 @@ class TransformationRule(TransformationSourcingRuleMixin, Rule):
# def getDivergenceList(self, applied_rule): # def getDivergenceList(self, applied_rule):
# """ # """
# Returns a list Divergence descriptors # Returns a list Divergence descriptors
# """
#
# security.declareProtected(Permissions.View, 'getSolverList')
# def getSolverList(self, applied_rule):
# """
# Returns a list Divergence solvers
# """ # """
# Deliverability / orderability # Deliverability / orderability
......
...@@ -234,12 +234,6 @@ class TransformationSourcingRule(TransformationSourcingRuleMixin, Rule): ...@@ -234,12 +234,6 @@ class TransformationSourcingRule(TransformationSourcingRuleMixin, Rule):
# def getDivergenceList(self, applied_rule): # def getDivergenceList(self, applied_rule):
# """ # """
# Returns a list Divergence descriptors # Returns a list Divergence descriptors
# """
#
# security.declareProtected(Permissions.View, 'getSolverList')
# def getSolverList(self, applied_rule):
# """
# Returns a list Divergence solvers
# """ # """
def isDeliverable(self, m): def isDeliverable(self, m):
......
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