[Zope-Checkins] CVS: Zope2  - Catalog.py:1.64
   
    Jim Fulton
     
    jim@digicool.com
       
    Fri, 16 Mar 2001 13:25:16 -0500 (EST)
    
    
  
Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog
In directory korak:/tmp/cvs-serv3613
Modified Files:
	Catalog.py 
Log Message:
Grrrrr. Forgot to copy the current length during conversion.
--- Updated File Catalog.py in package Zope2 --
--- Catalog.py	2001/03/15 13:16:23	1.63
+++ Catalog.py	2001/03/16 18:25:16	1.64
@@ -188,6 +188,8 @@
             self.data=IOBTree()
             convert(data, self.data, threshold)
 
+            self.__len__=BTrees.Length.Length(len(data))
+
             uids=self.uids
             self.uids=OIBTree()
             convert(uids, self.uids, threshold)
@@ -196,7 +198,6 @@
             self.paths=IOBTree()
             convert(paths, self.paths, threshold)
 
-            self.__len__=BTrees.Length.Length()
 
         for index in self.indexes.values():
             index._convertBTrees(threshold)