[CMF-checkins] CVS: Products/CMFDefault/Extensions - update_catalogIndexes.py:1.3

Andrew Sawyers andrew@zope.com
Mon, 28 Jan 2002 14:50:45 -0500


Update of /cvs-repository/Products/CMFDefault/Extensions
In directory cvs.zope.org:/tmp/cvs-serv7772

Modified Files:
	update_catalogIndexes.py 
Log Message:

*Added REQUEST to the arguments when calling manage_reindexIndex, there are times when self.resolv_url is called in ZCatalog.py which requires the request.


=== Products/CMFDefault/Extensions/update_catalogIndexes.py 1.2 => 1.3 ===
     map(lambda x, ct=ct: ct.delIndex(x), rIndexes.keys())
     map(lambda x, ct=ct: ct.addIndex(x[0], x[1]), rIndexes.items()) 
-    ct.manage_reindexIndex(ids=rIndexes.keys())
+    ct.manage_reindexIndex(ids=rIndexes.keys(), REQUEST=REQUEST)
     return 'Catalog Indexes rebuilt.'