import ISequence from the correct location at zope.schema (approved by jm)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29590 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e2fe399a
...@@ -29,13 +29,7 @@ ...@@ -29,13 +29,7 @@
############################################################################## ##############################################################################
from zope.interface import Interface from zope.interface import Interface
from zope.schema.interfaces import ISequence
try:
from zope.interface.common.sequence import ISequence
except ImportError:
# ISequence does not exists in old zope.interface versions
class ISequence(Interface):
pass
class IAggregatedAmountList(ISequence): class IAggregatedAmountList(ISequence):
"""An Aggregated Amount List is a list of amounts aggregated together. """An Aggregated Amount List is a list of amounts aggregated together.
......
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