Commit 09a3e30e authored by Jim Fulton's avatar Jim Fulton

Grrrrr. Forgot to copy the current length during conversion.

parent bc5fa0cf
......@@ -188,6 +188,8 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
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 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
self.paths=IOBTree()
convert(paths, self.paths, threshold)
self.__len__=BTrees.Length.Length()
for index in self.indexes.values():
index._convertBTrees(threshold)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment