From ccda9213ea078dae7513959d5724bc94f83e8bda Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Thu, 11 Jun 2009 10:06:54 +0000 Subject: [PATCH] fix interface of Transformation git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27518 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Transformation.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/product/ERP5/Document/Transformation.py b/product/ERP5/Document/Transformation.py index 6a4e264200..80864df2df 100644 --- a/product/ERP5/Document/Transformation.py +++ b/product/ERP5/Document/Transformation.py @@ -41,6 +41,7 @@ from Products.ERP5.Document.Predicate import Predicate from Products.CMFCategory.Renderer import Renderer from Products.ERP5.AggregatedAmountList import AggregatedAmountList +import zope.interface from zLOG import LOG, WARNING @@ -80,9 +81,10 @@ class Transformation(XMLObject, Predicate, Variated): ) # Declarative interfaces - __implements__ = ( interfaces.IVariated - , interfaces.ITransformation - ) + zope.interface.implements(interfaces.IVariated, + interfaces.ITransformation + ) + security.declareProtected(Permissions.AccessContentsInformation, -- 2.30.9