Commit 473b6a6a authored by Arnaud Fontaine's avatar Arnaud Fontaine

Remove now useless createFilesystemPropertySheetAccessorHolder in

Property Sheet Tool.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43203 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ad821ff6
......@@ -236,26 +236,6 @@ class PropertySheetTool(BaseTool):
return (properties, categories, constraints)
security.declarePrivate('createFilesystemPropertySheetAccessorHolder')
def createFilesystemPropertySheetAccessorHolder(self, property_sheet):
"""
Create a new accessor holder from the given filesystem Property
Sheet (the accessors are created through a Property Holder)
XXX: Workflows?
XXX: Remove as soon as the migration is finished
"""
property_holder = PropertyHolder(property_sheet.__name__)
property_holder._properties = getattr(property_sheet, '_properties', [])
property_holder._categories = getattr(property_sheet, '_categories', [])
property_holder._constraints = getattr(property_sheet, '_constraints', [])
return AccessorHolderType.fromPropertyHolder(
property_holder,
self.getPortalObject(),
'erp5.filesystem_accessor_holder')
security.declarePrivate('createZodbPropertySheetAccessorHolder')
def createZodbPropertySheetAccessorHolder(self, property_sheet):
"""
......
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