From ac38cc3cf683d73d2dca2c7931c687ea15de4b3b Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 5 Aug 2005 13:33:07 +0000 Subject: [PATCH] Revert the previous change that passes evaluate only to ERP5PropertyManager. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3549 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 7fcb4f78fc..78cdd8f769 100755 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -677,7 +677,7 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): return default_value security.declareProtected( Permissions.AccessContentsInformation, 'getProperty' ) - def getProperty(self, key, d=None, evaluate=1, **kw): + def getProperty(self, key, d=None, **kw): """ Previous Name: getValue @@ -702,7 +702,7 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): # if callable(value): value = value() # return value else: - return ERP5PropertyManager.getProperty(self, key, d=d, evaluate=evaluate, **kw) + return ERP5PropertyManager.getProperty(self, key, d=d, **kw) security.declareProtected( Permissions.AccessContentsInformation, 'getPropertyList' ) def getPropertyList(self, key, d=None): -- 2.30.9