[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex - ZCTextIndex.py:1.40
Guido van Rossum
guido@python.org
Fri, 24 Jan 2003 10:07:24 -0500
Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv8401
Modified Files:
ZCTextIndex.py
Log Message:
Implement getIndexSourceNames() correctly.
=== Zope/lib/python/Products/ZCTextIndex/ZCTextIndex.py 1.39 => 1.40 ===
--- Zope/lib/python/Products/ZCTextIndex/ZCTextIndex.py:1.39 Fri Jan 24 00:36:43 2003
+++ Zope/lib/python/Products/ZCTextIndex/ZCTextIndex.py Fri Jan 24 10:07:22 2003
@@ -216,8 +216,8 @@
manage_main = DTMLFile('dtml/manageZCTextIndex', globals())
def getIndexSourceNames(self):
- """ return name of indexed attributes """
- return (self.id, )
+ """Return sequence of names of indexed attributes"""
+ return [self._fieldname]
def getIndexType(self):
"""Return index type string"""