Commit b3b31585 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0d76b785
...@@ -515,7 +515,8 @@ def __zwalkBFS(ztree): # i[] of [](of _NodeInRange on each level) ...@@ -515,7 +515,8 @@ def __zwalkBFS(ztree): # i[] of [](of _NodeInRange on each level)
elif kind == zbcheck.BTREE_ONE: elif kind == zbcheck.BTREE_ONE:
b = znode._bucket_type() b = znode._bucket_type()
b.__setstate__(keys) b.__setstate__(keyv)
keyv = []
children = [b] children = [b]
elif kind == zbcheck.BTREE_NORMAL: elif kind == zbcheck.BTREE_NORMAL:
...@@ -529,7 +530,7 @@ def __zwalkBFS(ztree): # i[] of [](of _NodeInRange on each level) ...@@ -529,7 +530,7 @@ def __zwalkBFS(ztree): # i[] of [](of _NodeInRange on each level)
assert len(rv) == len(children) assert len(rv) == len(children)
for i in range(len(rv)): for i in range(len(rv)):
nextq.append(_NodeInRange(_Range(*rv[i]), children)) nextq.append(_NodeInRange(_Range(*rv[i]), children[i]))
# TopoDecode decodes topology-encoded text into Tree structure. # TopoDecode decodes topology-encoded text into Tree structure.
......
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