File contents
Index: Catalog.py
===================================================================
RCS file: /cvs-repository/Zope2/lib/python/Products/ZCatalog/Catalog.py,v
retrieving revision 1.42
diff -u -r1.42 Catalog.py
--- Catalog.py 1999/10/04 15:37:52 1.42
+++ Catalog.py 1999/12/29 07:34:14
@@ -145,7 +145,7 @@
self.schema = {} # mapping from attribute name to column number
self.names = () # sequence of column names
- self.indexes = {} # maping from index name to index object
+ self.indexes = {} # mapping from index name to index object
# The catalog maintains a BTree of object meta_data for
# convenient display on result pages. meta_data attributes
@@ -397,7 +397,7 @@
def uniqueValuesFor(self, name):
""" return unique values for FieldIndex name """
- return self.indexes[name].uniqueValues()
+ return list(self.indexes[name].uniqueValues())
def hasuid(self, uid):
""" return the rid if catalog contains an object with uid """