test mirror on codeberg
This commit is contained in:
parent
b1907f9069
commit
451e1f1f22
|
@ -78,8 +78,6 @@ class NerdTree():
|
|||
## rootnode for definition is always a folder
|
||||
rootnode = tosplit.split('/')[-1]
|
||||
|
||||
# stat_dir_item = os.stat(startpath)
|
||||
# start_dir_item_type is always 'd'
|
||||
start_dir_item_type, start_dir_object = self.get_path_obj(startpath)
|
||||
stat_dir_item = start_dir_object.lstat()
|
||||
|
||||
|
@ -216,9 +214,6 @@ class NerdTree():
|
|||
if rootnode.get('subtree_items'):
|
||||
hnum, unit = _tree_repr.format(rootnode['subtree_size'])
|
||||
nerd_tree_txt += ' (%s item(s)/%s%s ▾)' % (rootnode['subtree_items'], hnum, unit)
|
||||
# return nerd_tree_txt
|
||||
# else:
|
||||
# nerd_tree_txt += ' (0 - 0 ▾)'
|
||||
|
||||
items = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue