From b8076d15ad843161002226e914bed2912fe92a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 31 Aug 2009 07:18:03 +0000 Subject: [PATCH] private accessors are not part of the interface. remove unnecessary 'pass' statement in method bodies. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28673 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/interfaces/variated.py | 34 ----------------------------- 1 file changed, 34 deletions(-) diff --git a/product/ERP5/interfaces/variated.py b/product/ERP5/interfaces/variated.py index 285c6bf499..45f47c6003 100644 --- a/product/ERP5/interfaces/variated.py +++ b/product/ERP5/interfaces/variated.py @@ -47,25 +47,13 @@ class IVariated(Interface): a discrete variation (ie. a list of category memberships) """ - pass - - def _setVariationCategoryList(node_list): - """ - modifies the discrete variation of an - variated instance by providing a list - of relative URLs - """ - pass def setVariationCategoryList(node_list): """ modifies the discrete variation of an variated instance by providing a list of relative URLs - - reindexes the object """ - pass def getVariationBaseCategoryList(node_list): """ @@ -73,15 +61,6 @@ class IVariated(Interface): which are used to define discrete variations for this instance """ - pass - - def _setVariationBaseCategoryList(node_list): - """ - modifies the list of base category ids - which are used to define discrete variations - for this instance - """ - pass def setVariationBaseCategoryList(node_list): """ @@ -89,26 +68,17 @@ class IVariated(Interface): which are used to define discrete variations for this instance """ - pass # General Variation accessors def getVariationValue(): """ Returns a VariationValue object. """ - pass - - def _setVariationValue(value): - """ - Private setter for VariationValue. - """ - pass def setVariationValue(value): """ Sets the VariationValue. """ - pass # The following methods are intended to access the @@ -123,7 +93,6 @@ class IVariated(Interface): returns a list of categories which are acceptable as discrete variation values """ - pass def getVariationRangeCategoryItemList(base_category_list=(), display_id='getTitle', base=1, current_category=None): @@ -131,14 +100,12 @@ class IVariated(Interface): returns a list of (category.id, category.display_id()) which are acceptable as discrete variation values """ - pass def getVariationRangeBaseCategoryList(base_category_list=(), base=1): """ returns a list of base categories which are acceptable as discrete variation values """ - pass def getVariationRangeBaseCategoryItemList(base_category_list=(), display_id='getTitle', base=1, current_category=None): @@ -146,4 +113,3 @@ class IVariated(Interface): returns a list of base category items which are acceptable as discrete variation values """ - pass -- 2.30.9