Commit 0ed2bdc7 authored by Alexandre Boeglin's avatar Alexandre Boeglin

comment out empty methods that break inheritance


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13072 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 367d2672
...@@ -335,24 +335,25 @@ class TransformationRule(Rule): ...@@ -335,24 +335,25 @@ class TransformationRule(Rule):
and blocks expansion process and blocks expansion process
""" """
# Solvers # # Solvers
security.declareProtected(Permissions.View, 'isDivergent') # security.declareProtected(Permissions.View, 'isDivergent')
def isDivergent(self, applied_rule): # def isDivergent(self, applied_rule):
""" # """
Returns 1 if divergent rule # Returns 1 if divergent rule
""" # """
#
security.declareProtected(Permissions.View, 'getDivergenceList') # security.declareProtected(Permissions.View, 'getDivergenceList')
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
# """
security.declareProtected(Permissions.View, 'getSolverList')
def getSolverList(self, applied_rule):
"""
Returns a list Divergence solvers
"""
# Deliverability / orderability # Deliverability / orderability
def isDeliverable(self, m): def isDeliverable(self, m):
return 1 return 1
......
...@@ -255,24 +255,24 @@ class TransformationSourcingRule(Rule): ...@@ -255,24 +255,24 @@ class TransformationSourcingRule(Rule):
and blocks expansion process and blocks expansion process
""" """
# Solvers # # Solvers
security.declareProtected(Permissions.View, 'isDivergent') # security.declareProtected(Permissions.View, 'isDivergent')
def isDivergent(self, applied_rule): # def isDivergent(self, applied_rule):
""" # """
Returns 1 if divergent rule # Returns 1 if divergent rule
""" # """
#
security.declareProtected(Permissions.View, 'getDivergenceList') # security.declareProtected(Permissions.View, 'getDivergenceList')
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') # security.declareProtected(Permissions.View, 'getSolverList')
def getSolverList(self, applied_rule): # def getSolverList(self, applied_rule):
""" # """
Returns a list Divergence solvers # Returns a list Divergence solvers
""" # """
def isDeliverable(self, m): def isDeliverable(self, m):
resource = m.getResource() resource = m.getResource()
......
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