Commit a7982df2 authored by Nicolas Dumazet's avatar Nicolas Dumazet

order of arguments has changed


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42813 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6ebbe94f
...@@ -192,8 +192,8 @@ class PropertySheetTool(BaseTool): ...@@ -192,8 +192,8 @@ class PropertySheetTool(BaseTool):
property_holder._constraints = getattr(property_sheet, '_constraints', []) property_holder._constraints = getattr(property_sheet, '_constraints', [])
return AccessorHolderType.fromPropertyHolder( return AccessorHolderType.fromPropertyHolder(
self.getPortalObject(),
property_holder, property_holder,
self.getPortalObject(),
'erp5.filesystem_accessor_holder') 'erp5.filesystem_accessor_holder')
security.declarePrivate('createZodbPropertySheetAccessorHolder') security.declarePrivate('createZodbPropertySheetAccessorHolder')
...@@ -216,8 +216,8 @@ class PropertySheetTool(BaseTool): ...@@ -216,8 +216,8 @@ class PropertySheetTool(BaseTool):
property_holder._constraints = definition_tuple property_holder._constraints = definition_tuple
return AccessorHolderType.fromPropertyHolder( return AccessorHolderType.fromPropertyHolder(
self.getPortalObject(),
property_holder, property_holder,
self.getPortalObject(),
'erp5.accessor_holder') 'erp5.accessor_holder')
security.declareProtected(Permissions.ManagePortal, security.declareProtected(Permissions.ManagePortal,
......
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