[z3-checkins] r26742 - z3/hurry/trunk/src/hurry/query

srichter at codespeak.net srichter at codespeak.net
Thu May 4 00:13:02 CEST 2006


Author: srichter
Date: Thu May  4 00:12:11 2006
New Revision: 26742

Modified:
   z3/hurry/trunk/src/hurry/query/set.py
Log:
ICatalogSetIndex is an overly strict requirement; ISetIndex is really 
what you wanted in the first place.


Modified: z3/hurry/trunk/src/hurry/query/set.py
==============================================================================
--- z3/hurry/trunk/src/hurry/query/set.py	(original)
+++ z3/hurry/trunk/src/hurry/query/set.py	Thu May  4 00:12:11 2006
@@ -1,10 +1,10 @@
-from zc.catalog.interfaces import ICatalogSetIndex
+from zc.catalog.interfaces import ISetIndex
 from hurry.query import query
 
 class SetTerm(query.IndexTerm):
     def getIndex(self):
         index = super(SetTerm, self).getIndex()
-        assert ICatalogSetIndex.providedBy(index)
+        assert ISetIndex.providedBy(index)
         return index
     
 class AnyOf(SetTerm):


More information about the z3-checkins mailing list