Commit 88d6e018 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Use zope.interface instead of Zope2 Interface.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26669 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7a1cd427
......@@ -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):
"""
......
......@@ -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):
"""
......
......@@ -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):
"""
......
......@@ -26,7 +26,7 @@
#
##############################################################################
from Interface import Interface
from zope.interface import Interface
class Expandable(Interface):
"""
......
......@@ -26,7 +26,7 @@
#
##############################################################################
from Interface import Interface
from zope.interface import Interface
class OpenOrderExpander(Interface):
"""
......
......@@ -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):
"""
......
......@@ -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.
......
......@@ -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):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment