Migrate scripts from spinal.walk_generator to spinal.walk.
This commit is contained in:
parent
0257387d92
commit
71a66e4b54
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ def recursive_print_node(node, depth=0, use_html=False, header=None, footer=None
|
||||||
def pathtree_argparse(args):
|
def pathtree_argparse(args):
|
||||||
from voussoirkit import safeprint
|
from voussoirkit import safeprint
|
||||||
from voussoirkit import spinal
|
from voussoirkit import spinal
|
||||||
paths = spinal.walk_generator()
|
paths = spinal.walk()
|
||||||
paths = [{'path': path.absolute_path, 'size': path.size} for path in paths]
|
paths = [{'path': path.absolute_path, 'size': path.size} for path in paths]
|
||||||
tree = from_paths(paths, '.')
|
tree = from_paths(paths, '.')
|
||||||
recursive_get_size(tree)
|
recursive_get_size(tree)
|
||||||
|
|
Loading…
Reference in a new issue