Ignore:
Timestamp:
30 Mar 2010, 17:25:06 (15 years ago)
Author:
uli
Message:
  • Fix imports.
  • Register WAeUPQuery as an unnamed global utility.
File:
1 edited

Legend:

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

    r5090 r5091  
    22"""
    33import grok
     4from grok import index
    45from hurry.query import Eq
    56from hurry.query.interfaces import IQuery
    67from hurry.query.query import Query
    78from zope.catalog.catalog import ResultSet
     9from zope.component import getUtility
    810from zope.intid.interfaces import IIntIds
    911
     
    3032               results = ResultSet(results, uidutil)
    3133          return results
     34
     35grok.global_utility(WAeUPQuery)
    3236
    3337
Note: See TracChangeset for help on using the changeset viewer.