Added context parameter to "getIndex" and "apply" methods to match last hurry.query package signatures
--- a/ztfy/utils/catalog/index.py Thu Oct 20 01:33:59 2011 +0200
+++ b/ztfy/utils/catalog/index.py Sun Oct 30 02:42:34 2011 +0200
@@ -142,11 +142,11 @@
super(Text, self).__init__(index_id)
self.text = text
- def getIndex(self):
- index = super(Text, self).getIndex()
+ def getIndex(self, context=None):
+ index = super(Text, self).getIndex(context)
assert ITingIndex.providedBy(index)
return index
- def apply(self):
- index = self.getIndex()
+ def apply(self, context=None):
+ index = self.getIndex(context)
return IFBTree.IFSet(index.apply(self.text))