Commit 24d61b19 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8c549b53
...@@ -236,8 +236,8 @@ def Restructure(ztree, newStructure): ...@@ -236,8 +236,8 @@ def Restructure(ztree, newStructure):
# assotiate every node in tnew to a znode # assotiate every node in tnew to a znode
# XXX check for end # XXX check for end
zlevel = zlevel.pop(0) zlevel = zlevelv.pop(0)
level = level.pop(0) level = levelv.pop(0)
if len(zlevel) == len(level): # map 1-1 if len(zlevel) == len(level): # map 1-1
for (znode, node) in zip(zlevel, level): for (znode, node) in zip(zlevel, level):
......
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