[Erp5-report] r25607 - /erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Feb 18 14:49:43 CET 2009
Author: vincent
Date: Wed Feb 18 14:49:42 2009
New Revision: 25607
URL: http://svn.erp5.org?rev=25607&view=rev
Log:
Remove catalog method custom wrapping, as it prevents indexation method from accessing each other (useful when one is a python script wishing to access ZSQLMethods to do actual indexation).
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=25607&r1=25606&r2=25607&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] Wed Feb 18 14:49:42 2009
@@ -1232,10 +1232,6 @@
if not self.isIndexable():
return
-
- portal_catalog = self.getSiteRoot().portal_catalog # XXX-JPS - This is a hardcoded name. Weird
- # Isn't self == self.getSiteRoot().portal_catalog
- # in this case ?
# Reminder about optimization: It might be possible to issue just one
# query to get enought results to check uid & path consistency.
@@ -1412,8 +1408,6 @@
append(value)
kw[arg] = value_list
- method = aq_base(method).__of__(portal_catalog) # Use method in
- # the context of portal_catalog
# Alter/Create row
try:
#start_time = DateTime()
More information about the Erp5-report
mailing list