[Erp5-report] r19011 - /erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Feb 3 08:15:49 CET 2008
Author: vincent
Date: Sun Feb 3 08:15:48 2008
New Revision: 19011
URL: http://svn.erp5.org?rev=19011&view=rev
Log:
No return value is expected from this method. Avoid confusing reader.
Modified:
erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
Modified: erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/SQLCatalog.py?rev=19011&r1=19010&r2=19011&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SQLCatalog.py (original)
+++ erp5/trunk/products/ZSQLCatalog/SQLCatalog.py Sun Feb 3 08:15:48 2008
@@ -1605,7 +1605,7 @@
'idxs is ignored in this function and is only provided to be compatible with CMFCatalogAware.reindexObject.')
if not self.isIndexable():
- return None
+ return
portal_catalog = self.getSiteRoot().portal_catalog # XXX-JPS - This is a hardcoded name. Weird
# Isn't self == self.getSiteRoot().portal_catalog
More information about the Erp5-report
mailing list