Commit dfb861a8 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 464f455f
......@@ -190,7 +190,7 @@ def StructureOf(znode):
# Restructure reorganizes ZODB BTree instance (not Tree) according to specified
# structure.
# topology structure.
def Restructure(ztree, newStructure):
_ = _zclassify(ztree)
assert _.is_ztree
......@@ -339,12 +339,6 @@ def Restructure(ztree, newStructure):
if tstruct != newStructure:
panic("BUG: Restructure: result structure is not what was"
" requested:\n%s\n\nwant:\n%s" % (tstruct, newStructure))
print()
print(newStructure)
print()
print(tstruct)
print()
#1/0
# AllStructs generates subset of all possible BTree structures for BTrees with
......
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