[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - Catalog.py:1.85

Andreas Jung andreas@digicool.com
Wed, 24 Apr 2002 11:50:52 -0400


Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv9469

Modified Files:
	Catalog.py 
Log Message:
added getId() of interface for PluggableIndexes -> changed the way
to retrieve the id of an index from index.id to index.getId()


=== Zope/lib/python/Products/ZCatalog/Catalog.py 1.84 => 1.85 ===
                 # Optimization: we check if there is some work for the index.
                 # 
-                if request.has_key(index.id) :
-                    if request[index.id] != '':
+                if request.has_key(index.getId()) :
+                    if request[index.getId()] != '':
                         r=index._apply_index(request)
 
                 if r is not None: