[Erp5-report] r31862 nicolas.dumazet - /erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 21 09:58:14 CET 2010
Author: nicolas.dumazet
Date: Thu Jan 21 09:58:12 2010
New Revision: 31862
URL: http://svn.erp5.org?rev=31862&view=rev
Log:
add urls=None parameter to SQLCatalog.manage_catalogReindex to avoid a traceback
In /manage_catalogReindex:
Traceback (most recent call last):
File ".../zope2/lib/python/ZPublisher/Publish.py", line 114, in publish
request, bind=1)
File ".../zope2/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File ".../zope2/lib/python/ZPublisher/Publish.py", line 40, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File ".../ZSQLCatalog/ZSQLCatalog.py", line 582, in manage_catalogReindex
catalog.manage_catalogReindex(REQUEST, RESPONSE, URL1, urls=urls)
TypeError: manage_catalogReindex() got an unexpected keyword argument 'urls'
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=31862&r1=31861&r2=31862&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] Thu Jan 21 09:58:12 2010
@@ -1146,7 +1146,7 @@
RESPONSE.redirect(URL1 + '/manage_catalogView?manage_tabs_message=Object%20Uncataloged')
- def manage_catalogReindex(self, REQUEST, RESPONSE, URL1):
+ def manage_catalogReindex(self, REQUEST, RESPONSE, URL1, urls=None):
""" clear the catalog, then re-index everything """
elapse = time.time()
c_elapse = time.clock()
More information about the Erp5-report
mailing list