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

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
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 => ===
     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.'