Commit 60eea064 authored by Andreas Jung's avatar Andreas Jung

reset _length when calling clear()

parent 74dd8761
......@@ -105,6 +105,7 @@ class UnIndex(SimpleItem):
return self.id
def clear(self):
self._length = BTrees.Length.Length()
self._index = OOBTree()
self._unindex = IOBTree()
......
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