[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - Catalog.py:1.91
Martijn Pieters
mj@zope.com
Mon, 29 Jul 2002 14:43:26 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv13669
Modified Files:
Catalog.py
Log Message:
Remove useless interpolation of None into string.
=== Zope/lib/python/Products/ZCatalog/Catalog.py 1.90 => 1.91 ===
# self.indexes is always a dict, so get() w/ 1 arg works
sort_index = self.indexes.get(sort_index)
if sort_index is None:
- raise CatalogError, ('Unknown sort_on index %s' % sort_index)
+ raise CatalogError, ('Unknown sort_on index')
else:
if not hasattr(sort_index, 'keyForDocument'):
raise CatalogError(