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

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


Update of /cvs-repository/CMF/CMFDefault/Extensions
In directory cvs.zope.org:/tmp/cvs-serv8590

Modified Files:
      Tag: CMF-1_2-branch
	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.


=== CMF/CMFDefault/Extensions/update_catalogIndexes.py 1.1.4.1 => 1.1.4.2 ===
     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.'