Migrate scripts from spinal.walk_generator to spinal.walk.

master
voussoir 2021-05-17 17:02:01 -07:00
parent 0257387d92
commit 71a66e4b54
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 1 additions and 1 deletions

View File

@ -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)