Commit edb4941e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6313c161
......@@ -54,7 +54,7 @@ The following example illustrates topology encoding represented by string
Topology encoding specification:
A Tree is encoded by depth-order traversal, delimiting layers with "/".
A Tree is encoded by level-order traversal, delimiting layers with "/".
Inside a layer Tree and Bucket nodes are signalled as
"T<keys>" ; Tree
......@@ -187,7 +187,6 @@ def TopoEncode(tree):
t2 = TopoDecode(topo)
if t2 != tree:
panic("BUG: TopoEncode: D(E(·)) != identity\n· = %s\n D(E(·) = %s" % (tree, t2))
return topo
......@@ -195,7 +194,7 @@ def TopoEncode(tree):
#
# XXX see -> ?
def TopoDecode(text):
1/0
return Tree([], Bucket()) # XXX stub
......
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