[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py reset _length when calling clear()

Andreas Jung andreas at andreas-jung.com
Fri Mar 18 10:32:35 EST 2005


Log message for revision 29560:
  reset _length when calling clear()
  

Changed:
  U   Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py

-=-
Modified: Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py
===================================================================
--- Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py	2005-03-18 15:31:23 UTC (rev 29559)
+++ Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py	2005-03-18 15:32:34 UTC (rev 29560)
@@ -105,6 +105,7 @@
         return self.id
 
     def clear(self):
+        self._length = BTrees.Length.Length()
         self._index = OOBTree()
         self._unindex = IOBTree()
 



More information about the Zope-Checkins mailing list