From d566d671c24c740f69913701b2e5cc266142e785 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Tue, 28 Apr 2009 13:26:53 +0000
Subject: [PATCH] Interfaces sould be defined in a new way now. Thanks to Lukas

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26677 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/PaySheetLine.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/Document/PaySheetLine.py b/product/ERP5/Document/PaySheetLine.py
index 1f2761778c..67b07a3dd3 100644
--- a/product/ERP5/Document/PaySheetLine.py
+++ b/product/ERP5/Document/PaySheetLine.py
@@ -31,6 +31,8 @@ from Products.ERP5Type import Permissions, PropertySheet, Interface
 from Products.ERP5.Document.InvoiceLine import InvoiceLine
 from zLOG import LOG
 
+import zope.interface
+
 class PaySheetLine(InvoiceLine):
     """
       A PaySheetLine object allows to implement lines in
@@ -50,7 +52,7 @@ class PaySheetLine(InvoiceLine):
     security.declareObjectProtected(Permissions.AccessContentsInformation)
 
     # Declarative interfaces
-    __implements__ = ( Interface.Variated, )
+    zope.interface.implements(Interface.Variated, )
 
     # Declarative properties
     property_sheets = ( PropertySheet.Base
-- 
2.30.9