[Erp5-report] r29590 - /erp5/trunk/products/ERP5/interfaces/aggregated_amount_list.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 13 14:19:55 CEST 2009
Author: leonardo
Date: Tue Oct 13 14:19:48 2009
New Revision: 29590
URL: http://svn.erp5.org?rev=29590&view=rev
Log:
import ISequence from the correct location at zope.schema (approved by jm)
Modified:
erp5/trunk/products/ERP5/interfaces/aggregated_amount_list.py
Modified: erp5/trunk/products/ERP5/interfaces/aggregated_amount_list.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/aggregated_amount_list.py?rev=29590&r1=29589&r2=29590&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/aggregated_amount_list.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/aggregated_amount_list.py [utf8] Tue Oct 13 14:19:48 2009
@@ -29,13 +29,7 @@
##############################################################################
from zope.interface import Interface
-
-try:
- from zope.interface.common.sequence import ISequence
-except ImportError:
- # ISequence does not exists in old zope.interface versions
- class ISequence(Interface):
- pass
+from zope.schema.interfaces import ISequence
class IAggregatedAmountList(ISequence):
"""An Aggregated Amount List is a list of amounts aggregated together.
More information about the Erp5-report
mailing list