Commit fa801a72 authored by Jérome Perrin's avatar Jérome Perrin

add **kw to match the interface


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26561 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5785a0c2
...@@ -2077,11 +2077,11 @@ class Base( CopyContainer, ...@@ -2077,11 +2077,11 @@ class Base( CopyContainer,
getValueList = _getValueList getValueList = _getValueList
def _getDefaultAcquiredValue(self, id, spec=(), filter=None, portal_type=(), def _getDefaultAcquiredValue(self, id, spec=(), filter=None, portal_type=(),
evaluate=1, checked_permission=None): evaluate=1, checked_permission=None, **kw):
path = self._getDefaultAcquiredCategoryMembership(id, spec=spec, filter=filter, path = self._getDefaultAcquiredCategoryMembership(id, spec=spec, filter=filter,
portal_type=portal_type, base=1, portal_type=portal_type, base=1,
checked_permission=checked_permission) checked_permission=checked_permission,
# LOG("_getAcquiredDefaultValue",0,str(path)) **kw)
if path is None: if path is None:
return None return None
else: else:
...@@ -2316,7 +2316,7 @@ class Base( CopyContainer, ...@@ -2316,7 +2316,7 @@ class Base( CopyContainer,
def _getDefaultAcquiredCategoryMembership(self, category, def _getDefaultAcquiredCategoryMembership(self, category,
spec=(), filter=None, portal_type=(), base=0, default=None, spec=(), filter=None, portal_type=(), base=0, default=None,
checked_permission=None): checked_permission=None, **kw):
membership = self._getAcquiredCategoryMembershipList(category, membership = self._getAcquiredCategoryMembershipList(category,
spec=spec, filter=filter, portal_type=portal_type, base=base, spec=spec, filter=filter, portal_type=portal_type, base=base,
checked_permission=checked_permission) checked_permission=checked_permission)
......
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