Changeset 5053 for main/waeup.sirp


Ignore:
Timestamp:
11 Mar 2010, 13:23:58 (15 years ago)
Author:
uli
Message:

BBB imports for older groktoolkit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/catalog.py

    r5007 r5053  
    33import grok
    44from hurry.query import Eq
    5 from zope.app.catalog.interfaces import ICatalog
    6 from zope.app.intid.interfaces import IIntIds
     5try:
     6     from zope.catalog.interfaces import ICatalog
     7except ImportError:
     8     # BBB
     9     from zope.app.catalog.interfaces import ICatalog
    710from zope.component import getUtility
    811from zope.component.interfaces import ComponentLookupError
     12try:
     13     from zope.intid import IIntIds
     14except ImportError:
     15     # BBB
     16     from zope.app.intid.interfaces import IIntIds
    917from waeup.sirp.interfaces import IUniversity
    1018from waeup.sirp.catalog import QueryResultItem
Note: See TracChangeset for help on using the changeset viewer.