Commit 7941f49e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b9a470e7
......@@ -187,12 +187,12 @@ def StructureOf(znode):
# Restructure reorganizes ZODB BTree instance (not Tree) according to specified
# structure.
def Restructure(ztree, newStructure):
assert istree(ztree) # XXX -> use zbcheck.classify
#assert istree(ztree) # XXX reenable, -> use zbcheck.classify
assert isinstance(newStructure, Tree)
1/0
_bcheck(ztree) # verify ztree before our tweaks
# XXX ...
_bcheck(ztree) # verify ztree after our tweaks
tstruct = StructureOf(ztree)
......
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