ztfy/utils/catalog/index.py
branchZTK-1.1
changeset 77 f332c2d642ad
parent 73 96079b5bdc1f
--- 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))