Commit f5a35317 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e3e6a8e4
......@@ -237,7 +237,6 @@ def Restructure(ztree, newStructure):
# assotiate every node in tnew to a znode
while len(levelv) > 0:
# XXX check for end
level = levelv.pop(0)
if len(zlevelv) == 0:
panic("TODO")
......@@ -249,6 +248,9 @@ def Restructure(ztree, newStructure):
else:
panic("TODO")
if len(zlevelv) > 0:
panic("TODO")
# set znode states according to established tnew->znode association
for nodev in levelv:
......
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