Log message for revision 115070: keyForDocument was replaced by documentToKeyMap.
Changed: U Zope/trunk/src/Products/ZCatalog/Catalog.py -=- Modified: Zope/trunk/src/Products/ZCatalog/Catalog.py =================================================================== --- Zope/trunk/src/Products/ZCatalog/Catalog.py 2010-07-25 10:30:21 UTC (rev 115069) +++ Zope/trunk/src/Products/ZCatalog/Catalog.py 2010-07-25 10:33:12 UTC (rev 115070) @@ -756,10 +756,10 @@ if sort_index is None: raise CatalogError, 'Unknown sort_on index (%s)' % sort_index_name else: - if not hasattr(sort_index, 'keyForDocument'): + if not hasattr(sort_index, 'documentToKeyMap'): raise CatalogError( - 'The index chosen for sort_on (%s) is not capable of being' - ' used as a sort index.' % sort_index_name + 'The index chosen for sort_on (%s) is not capable of ' + 'being used as a sort index.' % sort_index_name ) return sort_index else: _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins