Commit 77ef69c6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b7de2f10
......@@ -104,7 +104,7 @@ def StructureOf(node):
if kind == bcheck.BTREE_ONE:
b = node._bucket_type()
b.__setstate__(keys) # it is keys+values for BTREE_ONE case
return StructureOf(b)
return Tree([], StructureOf(b))
if kind == bcheck.BTREE_NORMAL:
return Tree(keys, *[StructureOf(_) for _ in children])
......
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