[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/common - UnIndex.py:1.8.10.1
Casey Duncan
casey@zope.com
Wed, 27 Mar 2002 15:51:47 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/common
In directory cvs.zope.org:/tmp/cvs-serv22094/lib/python/Products/PluginIndexes/common
Modified Files:
Tag: casey-death_to_index_html-branch
UnIndex.py
Log Message:
Updating branch to head for testing
=== Zope/lib/python/Products/PluginIndexes/common/UnIndex.py 1.8 => 1.8.10.1 ===
if oldDatum is not _marker:
self.removeForwardIndexEntry(oldDatum, documentId)
+ if datum is _marker:
+ try:
+ del self._unindex[documentId]
+ except:
+ LOG('UnIndex', ERROR,
+ 'Should not happen: oldDatum was there, now its not,'
+ 'for document with id %s' % documentId)
if datum is not _marker:
self.insertForwardIndexEntry(datum, documentId)