Commit 9c3c307c authored by Fabien Morin's avatar Fabien Morin

remove useless spaces


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27274 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4a76a9b6
...@@ -83,7 +83,7 @@ class Transformation(XMLObject, Predicate, Variated): ...@@ -83,7 +83,7 @@ class Transformation(XMLObject, Predicate, Variated):
__implements__ = ( Interface.Variated, ) __implements__ = ( Interface.Variated, )
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'updateVariationCategoryList') 'updateVariationCategoryList')
def updateVariationCategoryList(self): def updateVariationCategoryList(self):
""" """
...@@ -113,7 +113,7 @@ class Transformation(XMLObject, Predicate, Variated): ...@@ -113,7 +113,7 @@ class Transformation(XMLObject, Predicate, Variated):
result = self.getPortalVariationBaseCategoryList() result = self.getPortalVariationBaseCategoryList()
return result return result
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getVariationRangeBaseCategoryItemList') 'getVariationRangeBaseCategoryItemList')
def getVariationRangeBaseCategoryItemList(self, display_id='getTitleOrId', **kw): def getVariationRangeBaseCategoryItemList(self, display_id='getTitleOrId', **kw):
""" """
...@@ -122,7 +122,7 @@ class Transformation(XMLObject, Predicate, Variated): ...@@ -122,7 +122,7 @@ class Transformation(XMLObject, Predicate, Variated):
useful in ERP5Form instances to generate selection useful in ERP5Form instances to generate selection
menus. menus.
""" """
return self.portal_categories.getItemList( return self.portal_categories.getItemList(
self.getVariationRangeBaseCategoryList(), self.getVariationRangeBaseCategoryList(),
display_id=display_id, **kw) display_id=display_id, **kw)
...@@ -157,7 +157,7 @@ class Transformation(XMLObject, Predicate, Variated): ...@@ -157,7 +157,7 @@ class Transformation(XMLObject, Predicate, Variated):
base_category_list, base=1, display_none_category=0) base_category_list, base=1, display_none_category=0)
return result return result
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'_setVariationBaseCategoryList') '_setVariationBaseCategoryList')
def _setVariationBaseCategoryList(self, value): def _setVariationBaseCategoryList(self, value):
""" """
...@@ -173,7 +173,7 @@ class Transformation(XMLObject, Predicate, Variated): ...@@ -173,7 +173,7 @@ class Transformation(XMLObject, Predicate, Variated):
# create relations between resource variation and transformation # create relations between resource variation and transformation
self._setVariationCategoryList( self.getVariationRangeCategoryList() ) self._setVariationCategoryList( self.getVariationRangeCategoryList() )
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'setVariationBaseCategoryList') 'setVariationBaseCategoryList')
def setVariationBaseCategoryList(self, value): def setVariationBaseCategoryList(self, value):
""" """
...@@ -182,10 +182,10 @@ class Transformation(XMLObject, Predicate, Variated): ...@@ -182,10 +182,10 @@ class Transformation(XMLObject, Predicate, Variated):
self._setVariationBaseCategoryList(value) self._setVariationBaseCategoryList(value)
self.reindexObject() self.reindexObject()
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getVariationCategoryItemList') 'getVariationCategoryItemList')
def getVariationCategoryItemList(self, base_category_list=(), base=1, def getVariationCategoryItemList(self, base_category_list=(), base=1,
display_id='title', display_id='title',
current_category=None, current_category=None,
**kw): **kw):
""" """
...@@ -215,20 +215,20 @@ class Transformation(XMLObject, Predicate, Variated): ...@@ -215,20 +215,20 @@ class Transformation(XMLObject, Predicate, Variated):
if x.getPortalType() != 'Category'] if x.getPortalType() != 'Category']
variation_category_item_list.extend(Renderer( variation_category_item_list.extend(Renderer(
is_right_display=0, is_right_display=0,
base_category=base_category, base_category=base_category,
display_none_category=0, base=base, display_none_category=0, base=base,
current_category=current_category, current_category=current_category,
display_id=display_id,**kw).\ display_id=display_id,**kw).\
render(object_list)) render(object_list))
return variation_category_item_list return variation_category_item_list
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getAggregatedAmountList') 'getAggregatedAmountList')
def getAggregatedAmountList(self, context=None, REQUEST=None, def getAggregatedAmountList(self, context=None, REQUEST=None,
trade_phase_list=None, trade_phase_list=None,
# obsolete, use trade_phase_list instead # obsolete, use trade_phase_list instead
ind_phase_url_list=None, ind_phase_url_list=None,
rejected_resource_uid_list=None, rejected_resource_uid_list=None,
context_quantity=0,**kw): context_quantity=0,**kw):
""" """
getAggregatedAmountList returns a AggregatedAmountList which getAggregatedAmountList returns a AggregatedAmountList which
......
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