Commit e5855dae authored by Jérome Perrin's avatar Jérome Perrin

initBTrees does not need to be exposed

parent ab99b79d
...@@ -666,13 +666,6 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn): ...@@ -666,13 +666,6 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn):
return CMFHBTreeFolder._initBTrees(self) return CMFHBTreeFolder._initBTrees(self)
else: else:
return CMFBTreeFolder._initBTrees(self) return CMFBTreeFolder._initBTrees(self)
def initBTrees(self):
""" """
if self._folder_handler == HBTREE_HANDLER:
return CMFHBTreeFolder.initBTrees(self)
else:
return CMFBTreeFolder.initBTrees(self)
def hashId(self, id): def hashId(self, id):
"""Return a hash of id """Return a hash of id
......
...@@ -165,10 +165,6 @@ class HBTreeFolder2Base (Persistent): ...@@ -165,10 +165,6 @@ class HBTreeFolder2Base (Persistent):
self._htree = OOBTree() self._htree = OOBTree()
self._count = Length() self._count = Length()
self._tree_list = PersistentMapping() self._tree_list = PersistentMapping()
def initBTrees(self):
""" """
return self._initBTrees()
def _populateFromFolder(self, source): def _populateFromFolder(self, source):
"""Fill this folder with the contents of another folder. """Fill this folder with the contents of another folder.
......
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