Commit ee5f34ae authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 63ae145f
...@@ -243,13 +243,13 @@ def Restructure(ztree, newStructure): ...@@ -243,13 +243,13 @@ def Restructure(ztree, newStructure):
rlevel = rlevelv.pop(0) rlevel = rlevelv.pop(0)
if len(zrlevelv) == 0: if len(zrlevelv) == 0:
panic("TODO") panic("TODO")
zlevel = zlevelv.pop(0) zrlevel = zrlevelv.pop(0)
# XXX filter-out buckets # XXX filter-out buckets
if len(zlevel) == len(level): # map 1-1 if len(zrlevel) == len(rlevel): # map 1-1
for (znode, node) in zip(zlevel, level): for (zrn, rn) in zip(zrlevel, rlevel):
node.Z = znode rn.node.Z = zrn.node
else: else:
panic("TODO") panic("TODO")
......
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