Skip to content

Commit

Permalink
one less 'else'
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Apr 7, 2012
1 parent 0977d2a commit 7e3d42f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Products/ZCatalog/Catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,7 @@ def _getSortIndex(self, args):
raise CatalogError('Two sort indexes are supported at max, '
'got: %s' %repr(name))
return sort_indexes
else:
return None
return None

def searchResults(self, REQUEST=None, used=None, _merge=1, **kw):
# You should pass in a simple dictionary as the request argument,
Expand Down

0 comments on commit 7e3d42f

Please sign in to comment.