Commit e86393d0 authored by Martijn Pieters's avatar Martijn Pieters

Remove useless interpolation of None into string.

parent 1e7ac6fd
......@@ -605,7 +605,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
# 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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment