[z3-checkins] r28357 - z3/hurry/trunk/src/hurry/query
srichter at codespeak.net
srichter at codespeak.net
Tue Jun 6 12:15:28 CEST 2006
Author: srichter
Date: Tue Jun 6 12:15:27 2006
New Revision: 28357
Modified:
z3/hurry/trunk/src/hurry/query/query.py
Log:
This assertion was far too strong, since it restricted the Term to a
very narrow (and often non-useful) type of text indices.
Modified: z3/hurry/trunk/src/hurry/query/query.py
==============================================================================
--- z3/hurry/trunk/src/hurry/query/query.py (original)
+++ z3/hurry/trunk/src/hurry/query/query.py Tue Jun 6 12:15:27 2006
@@ -121,7 +121,10 @@
def getIndex(self):
index = super(Text, self).getIndex()
- assert ITextIndex.providedBy(index)
+ # TODO: This assertion is too strong, since custom text indices often
+ # do not use this interface. I looked around, and unfortunately there
+ # is no alternative. (SR)
+ #assert ITextIndex.providedBy(index)
return index
def apply(self):
More information about the z3-checkins
mailing list