From 4e88870bed5605843083ce05af50edcc45338e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 3 May 2006 10:55:43 +0000 Subject: [PATCH] When getting a aquired_property from a content subobject, propagate kw arguments passed to the getter to the aquired_property getter. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7052 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Accessor/ContentProperty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/Accessor/ContentProperty.py b/product/ERP5Type/Accessor/ContentProperty.py index 7e29dc3029..5280947d34 100644 --- a/product/ERP5Type/Accessor/ContentProperty.py +++ b/product/ERP5Type/Accessor/ContentProperty.py @@ -167,7 +167,7 @@ class Getter(Method): o = getattr(instance, k, None) if o is not None and o.portal_type in self._portal_type: #return o.getRelativeUrl() - return o.getProperty(self._acquired_property, default) + return o.getProperty(self._acquired_property, default, **kw) return default psyco.bind(__call__) -- 2.30.9