From a3b6c358ffc06e8568d7afdfaaa028d2a57a456f Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Tue, 28 Apr 2009 14:20:20 +0000
Subject: [PATCH] revert 26669 and 26677 for now, sorry. once we decide to use
 zope3 interface everywhere, we'll modify all required files.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26680 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/PaySheetLine.py       | 4 +---
 product/ERP5/Interface/Coordinate.py        | 2 +-
 product/ERP5/Interface/DivergenceTester.py  | 2 +-
 product/ERP5/Interface/Entity.py            | 2 +-
 product/ERP5/Interface/Expandable.py        | 2 +-
 product/ERP5/Interface/OpenOrderExpander.py | 2 +-
 product/ERP5/Interface/Predicate.py         | 2 +-
 product/ERP5/Interface/Rule.py              | 2 +-
 product/ERP5/Interface/Variated.py          | 2 +-
 9 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/product/ERP5/Document/PaySheetLine.py b/product/ERP5/Document/PaySheetLine.py
index 67b07a3dd3..1f2761778c 100644
--- a/product/ERP5/Document/PaySheetLine.py
+++ b/product/ERP5/Document/PaySheetLine.py
@@ -31,8 +31,6 @@ 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
@@ -52,7 +50,7 @@ class PaySheetLine(InvoiceLine):
     security.declareObjectProtected(Permissions.AccessContentsInformation)
 
     # Declarative interfaces
-    zope.interface.implements(Interface.Variated, )
+    __implements__ = ( Interface.Variated, )
 
     # Declarative properties
     property_sheets = ( PropertySheet.Base
diff --git a/product/ERP5/Interface/Coordinate.py b/product/ERP5/Interface/Coordinate.py
index abdbd987f2..614c82cc9f 100644
--- a/product/ERP5/Interface/Coordinate.py
+++ b/product/ERP5/Interface/Coordinate.py
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Coordinate(Interface):
   """
diff --git a/product/ERP5/Interface/DivergenceTester.py b/product/ERP5/Interface/DivergenceTester.py
index 063ab99cad..02bdf411ee 100644
--- a/product/ERP5/Interface/DivergenceTester.py
+++ b/product/ERP5/Interface/DivergenceTester.py
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class DivergenceTester(Interface):
   """
diff --git a/product/ERP5/Interface/Entity.py b/product/ERP5/Interface/Entity.py
index 93eb9167b6..068003c839 100644
--- a/product/ERP5/Interface/Entity.py
+++ b/product/ERP5/Interface/Entity.py
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Entity(Interface):
   """
diff --git a/product/ERP5/Interface/Expandable.py b/product/ERP5/Interface/Expandable.py
index 1687f6cfa1..e9e4d75914 100644
--- a/product/ERP5/Interface/Expandable.py
+++ b/product/ERP5/Interface/Expandable.py
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Expandable(Interface):
   """
diff --git a/product/ERP5/Interface/OpenOrderExpander.py b/product/ERP5/Interface/OpenOrderExpander.py
index 9c4ba266c9..d763a83c35 100644
--- a/product/ERP5/Interface/OpenOrderExpander.py
+++ b/product/ERP5/Interface/OpenOrderExpander.py
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class OpenOrderExpander(Interface):
   """
diff --git a/product/ERP5/Interface/Predicate.py b/product/ERP5/Interface/Predicate.py
index 2ec35f56a8..c42f39b023 100644
--- a/product/ERP5/Interface/Predicate.py
+++ b/product/ERP5/Interface/Predicate.py
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Predicate(Interface):
   """
diff --git a/product/ERP5/Interface/Rule.py b/product/ERP5/Interface/Rule.py
index 2e47be9bf9..9f344e7c3c 100644
--- a/product/ERP5/Interface/Rule.py
+++ b/product/ERP5/Interface/Rule.py
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Rule(Interface):
   """A Rule describes transformations of documents.
diff --git a/product/ERP5/Interface/Variated.py b/product/ERP5/Interface/Variated.py
index cc57380c74..348459d90f 100644
--- a/product/ERP5/Interface/Variated.py
+++ b/product/ERP5/Interface/Variated.py
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Variated(Interface):
   """
-- 
2.30.9