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
...@@ -439,7 +439,7 @@ class HBTreeFolder2Base (Persistent): ...@@ -439,7 +439,7 @@ class HBTreeFolder2Base (Persistent):
security.declareProtected(access_contents_information, security.declareProtected(access_contents_information,
'ObjectValues') 'ObjectValues')
def objectValues(self, base_id=_marker, spec=None): 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, security.declareProtected(access_contents_information,
...@@ -458,7 +458,7 @@ class HBTreeFolder2Base (Persistent): ...@@ -458,7 +458,7 @@ class HBTreeFolder2Base (Persistent):
# If 'spec' is specified, returns only objects whose meta_type match # If 'spec' is specified, returns only objects whose meta_type match
# 'spec' # 'spec'
return LazyMap(lambda id, _getOb=self._getOb: (id, _getOb(id)), 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, 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