From 57c2202476b1ee4b0f06e05b0331f910c26ead41 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 3 Jun 2005 15:35:59 +0000 Subject: [PATCH] Fix a stupid typo. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3181 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Accessor/Content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/Accessor/Content.py b/product/ERP5Type/Accessor/Content.py index 2b99e6cc7b..344fe51024 100755 --- a/product/ERP5Type/Accessor/Content.py +++ b/product/ERP5Type/Accessor/Content.py @@ -117,7 +117,7 @@ class ValueListGetter(Method): def __call__(self, instance, *args, **kw): # We return the list of matching objects - return [o.getObject() for x in self.contentValues({'portal_type': self._portal_type, 'id': self._storage_id_list})] + return [o.getObject() for o in self.contentValues({'portal_type': self._portal_type, 'id': self._storage_id_list})] psyco.bind(__call__) -- 2.30.9