[CMF-checkins] CVS: CMF/CMFCore - CatalogTool.py:1.30.4.2
Tres Seaver
tseaver@zope.com
Fri, 19 Jul 2002 15:03:58 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv28171/CMFCore
Modified Files:
Tag: CMF-1_3-branch
CatalogTool.py
Log Message:
- Fix typo in nasty list incomprehension.
=== CMF/CMFCore/CatalogTool.py 1.30.4.1 => 1.30.4.2 ===
if idxs != []:
# Filter out invalid indexes.
valid_indexes = self._catalog.indexes.keys()
- idxs = [i for i in idxs if i in valid_indexes
+ idxs = [i for i in idxs if i in valid_indexes]
self.catalog_object(object, url, idxs=idxs)
InitializeClass(CatalogTool)