Commit bfbcc158 authored by Aurel's avatar Aurel

explicitely pass the parameter name to avoir confusing

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17077 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 39302de0
No related merge requests found
......@@ -439,7 +439,7 @@ class HBTreeFolder2Base (Persistent):
security.declareProtected(access_contents_information,
'ObjectValues')
def objectValues(self, base_id=_marker, spec=None):
return LazyMap(self._getOb, self.objectIds(base_id))
return LazyMap(self._getOb, self.objectIds(base_id=base_id))
security.declareProtected(access_contents_information,
......@@ -458,7 +458,7 @@ class HBTreeFolder2Base (Persistent):
# If 'spec' is specified, returns only objects whose meta_type match
# 'spec'
return LazyMap(lambda id, _getOb=self._getOb: (id, _getOb(id)),
self.objectIds(base_id, spec))
self.objectIds(base_id=base_id))
security.declareProtected(access_contents_information,
......
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