[Erp5-report] r26680 - in /erp5/trunk/products/ERP5: Document/ Interface/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 28 16:20:21 CEST 2009


Author: kazuhiko
Date: Tue Apr 28 16:20:20 2009
New Revision: 26680

URL: http://svn.erp5.org?rev=26680&view=rev
Log:
revert 26669 and 26677 for now, sorry. once we decide to use zope3 interface everywhere, we'll modify all required files.

Modified:
    erp5/trunk/products/ERP5/Document/PaySheetLine.py
    erp5/trunk/products/ERP5/Interface/Coordinate.py
    erp5/trunk/products/ERP5/Interface/DivergenceTester.py
    erp5/trunk/products/ERP5/Interface/Entity.py
    erp5/trunk/products/ERP5/Interface/Expandable.py
    erp5/trunk/products/ERP5/Interface/OpenOrderExpander.py
    erp5/trunk/products/ERP5/Interface/Predicate.py
    erp5/trunk/products/ERP5/Interface/Rule.py
    erp5/trunk/products/ERP5/Interface/Variated.py

Modified: erp5/trunk/products/ERP5/Document/PaySheetLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PaySheetLine.py?rev=26680&r1=26679&r2=26680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaySheetLine.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PaySheetLine.py [utf8] Tue Apr 28 16:20:20 2009
@@ -31,8 +31,6 @@
 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 @@
     security.declareObjectProtected(Permissions.AccessContentsInformation)
 
     # Declarative interfaces
-    zope.interface.implements(Interface.Variated, )
+    __implements__ = ( Interface.Variated, )
 
     # Declarative properties
     property_sheets = ( PropertySheet.Base

Modified: erp5/trunk/products/ERP5/Interface/Coordinate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interface/Coordinate.py?rev=26680&r1=26679&r2=26680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Coordinate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Coordinate.py [utf8] Tue Apr 28 16:20:20 2009
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Coordinate(Interface):
   """

Modified: erp5/trunk/products/ERP5/Interface/DivergenceTester.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interface/DivergenceTester.py?rev=26680&r1=26679&r2=26680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/DivergenceTester.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/DivergenceTester.py [utf8] Tue Apr 28 16:20:20 2009
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class DivergenceTester(Interface):
   """

Modified: erp5/trunk/products/ERP5/Interface/Entity.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interface/Entity.py?rev=26680&r1=26679&r2=26680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Entity.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Entity.py [utf8] Tue Apr 28 16:20:20 2009
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Entity(Interface):
   """

Modified: erp5/trunk/products/ERP5/Interface/Expandable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interface/Expandable.py?rev=26680&r1=26679&r2=26680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Expandable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Expandable.py [utf8] Tue Apr 28 16:20:20 2009
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Expandable(Interface):
   """

Modified: erp5/trunk/products/ERP5/Interface/OpenOrderExpander.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interface/OpenOrderExpander.py?rev=26680&r1=26679&r2=26680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/OpenOrderExpander.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/OpenOrderExpander.py [utf8] Tue Apr 28 16:20:20 2009
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class OpenOrderExpander(Interface):
   """

Modified: erp5/trunk/products/ERP5/Interface/Predicate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interface/Predicate.py?rev=26680&r1=26679&r2=26680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Predicate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Predicate.py [utf8] Tue Apr 28 16:20:20 2009
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Predicate(Interface):
   """

Modified: erp5/trunk/products/ERP5/Interface/Rule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interface/Rule.py?rev=26680&r1=26679&r2=26680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Rule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Rule.py [utf8] Tue Apr 28 16:20:20 2009
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Rule(Interface):
   """A Rule describes transformations of documents.

Modified: erp5/trunk/products/ERP5/Interface/Variated.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interface/Variated.py?rev=26680&r1=26679&r2=26680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Variated.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Variated.py [utf8] Tue Apr 28 16:20:20 2009
@@ -26,7 +26,7 @@
 #
 ##############################################################################
 
-from zope.interface import Interface
+fro Interface import Interface
 
 class Variated(Interface):
   """




More information about the Erp5-report mailing list