[Erp5-report] r27518 - /erp5/trunk/products/ERP5/Document/Transformation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 11 12:06:55 CEST 2009


Author: seb
Date: Thu Jun 11 12:06:54 2009
New Revision: 27518

URL: http://svn.erp5.org?rev=27518&view=rev
Log:
fix interface of Transformation

Modified:
    erp5/trunk/products/ERP5/Document/Transformation.py

Modified: erp5/trunk/products/ERP5/Document/Transformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Transformation.py?rev=27518&r1=27517&r2=27518&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Transformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Transformation.py [utf8] Thu Jun 11 12:06:54 2009
@@ -41,6 +41,7 @@
 
 from Products.CMFCategory.Renderer import Renderer
 from Products.ERP5.AggregatedAmountList import AggregatedAmountList
+import zope.interface
 
 from zLOG import LOG, WARNING
 
@@ -80,9 +81,10 @@
                       )
 
     # Declarative interfaces
-    __implements__ = ( interfaces.IVariated
-                     , interfaces.ITransformation
-    )
+    zope.interface.implements(interfaces.IVariated, 
+                              interfaces.ITransformation
+                              )
+
 
 
     security.declareProtected(Permissions.AccessContentsInformation,




More information about the Erp5-report mailing list