[Erp5-report] r26669 - /erp5/trunk/products/ERP5/Interface/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 28 07:09:52 CEST 2009
Author: kazuhiko
Date: Tue Apr 28 07:09:51 2009
New Revision: 26669
URL: http://svn.erp5.org?rev=26669&view=rev
Log:
Use zope.interface instead of Zope2 Interface.
Modified:
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/Interface/Coordinate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interface/Coordinate.py?rev=26669&r1=26668&r2=26669&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Coordinate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Coordinate.py [utf8] Tue Apr 28 07:09:51 2009
@@ -26,11 +26,7 @@
#
##############################################################################
-try:
- from Interface import Interface
-except ImportError:
- # for Zope versions before 2.6.0
- from Interface import Base as Interface
+from zope.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=26669&r1=26668&r2=26669&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/DivergenceTester.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/DivergenceTester.py [utf8] Tue Apr 28 07:09:51 2009
@@ -26,11 +26,7 @@
#
##############################################################################
-try:
- from Interface import Interface
-except ImportError:
- # for Zope versions before 2.6.0
- from Interface import Base as Interface
+from zope.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=26669&r1=26668&r2=26669&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Entity.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Entity.py [utf8] Tue Apr 28 07:09:51 2009
@@ -26,11 +26,7 @@
#
##############################################################################
-try:
- from Interface import Interface
-except ImportError:
- # for Zope versions before 2.6.0
- from Interface import Base as Interface
+from zope.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=26669&r1=26668&r2=26669&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Expandable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Expandable.py [utf8] Tue Apr 28 07:09:51 2009
@@ -26,7 +26,7 @@
#
##############################################################################
-from Interface import Interface
+from zope.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=26669&r1=26668&r2=26669&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/OpenOrderExpander.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/OpenOrderExpander.py [utf8] Tue Apr 28 07:09:51 2009
@@ -26,7 +26,7 @@
#
##############################################################################
-from Interface import Interface
+from zope.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=26669&r1=26668&r2=26669&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Predicate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Predicate.py [utf8] Tue Apr 28 07:09:51 2009
@@ -26,11 +26,7 @@
#
##############################################################################
-try:
- from Interface import Interface
-except ImportError:
- # for Zope versions before 2.6.0
- from Interface import Base as Interface
+from zope.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=26669&r1=26668&r2=26669&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Rule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Rule.py [utf8] Tue Apr 28 07:09:51 2009
@@ -26,11 +26,7 @@
#
##############################################################################
-try:
- from Interface import Interface
-except ImportError:
- # for Zope versions before 2.6.0
- from Interface import Base as Interface
+from zope.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=26669&r1=26668&r2=26669&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interface/Variated.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interface/Variated.py [utf8] Tue Apr 28 07:09:51 2009
@@ -26,11 +26,7 @@
#
##############################################################################
-try:
- from Interface import Interface
-except ImportError:
- # for Zope versions before 2.6.0
- from Interface import Base as Interface
+from zope.interface import Interface
class Variated(Interface):
"""
More information about the Erp5-report
mailing list