Fixed B-tree rendering in dbgmtree.py, unexpected arg
Rbyd.btree_btree renders B-trees, not rbyds, the rbyd arg doesn't make sense here. This was just an accidental refactor mistake.
This commit is contained in:
+1
-2
@@ -1273,8 +1273,7 @@ def main(disk, mroots=None, *,
|
|||||||
tree_, tdepth = mtree.btree_btree(
|
tree_, tdepth = mtree.btree_btree(
|
||||||
f, block_size,
|
f, block_size,
|
||||||
depth=args.get('depth', mdepth)-mdepth,
|
depth=args.get('depth', mdepth)-mdepth,
|
||||||
inner=args.get('inner'),
|
inner=args.get('inner'))
|
||||||
rbyd=args.get('rbyd'))
|
|
||||||
|
|
||||||
# connect a branch to the root of the tree
|
# connect a branch to the root of the tree
|
||||||
root = min(tree_, key=lambda branch: branch.d, default=None)
|
root = min(tree_, key=lambda branch: branch.d, default=None)
|
||||||
|
|||||||
Reference in New Issue
Block a user