Commit f921c8d4 authored by Vincent Pelletier's avatar Vincent Pelletier

No return value is expected from this method. Avoid confusing reader.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19011 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 863e9811
...@@ -1605,7 +1605,7 @@ class Catalog(Folder, ...@@ -1605,7 +1605,7 @@ class Catalog(Folder,
'idxs is ignored in this function and is only provided to be compatible with CMFCatalogAware.reindexObject.') 'idxs is ignored in this function and is only provided to be compatible with CMFCatalogAware.reindexObject.')
if not self.isIndexable(): if not self.isIndexable():
return None return
portal_catalog = self.getSiteRoot().portal_catalog # XXX-JPS - This is a hardcoded name. Weird portal_catalog = self.getSiteRoot().portal_catalog # XXX-JPS - This is a hardcoded name. Weird
# Isn't self == self.getSiteRoot().portal_catalog # Isn't self == self.getSiteRoot().portal_catalog
......
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