test mirror on codeberg

This commit is contained in:
Amber 2024-03-07 12:13:59 +01:00
parent b1907f9069
commit 451e1f1f22
1 changed files with 0 additions and 5 deletions

View File

@ -78,8 +78,6 @@ class NerdTree():
## rootnode for definition is always a folder ## rootnode for definition is always a folder
rootnode = tosplit.split('/')[-1] 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) start_dir_item_type, start_dir_object = self.get_path_obj(startpath)
stat_dir_item = start_dir_object.lstat() stat_dir_item = start_dir_object.lstat()
@ -216,9 +214,6 @@ class NerdTree():
if rootnode.get('subtree_items'): if rootnode.get('subtree_items'):
hnum, unit = _tree_repr.format(rootnode['subtree_size']) hnum, unit = _tree_repr.format(rootnode['subtree_size'])
nerd_tree_txt += ' (%s item(s)/%s%s ▾)' % (rootnode['subtree_items'], hnum, unit) nerd_tree_txt += ' (%s item(s)/%s%s ▾)' % (rootnode['subtree_items'], hnum, unit)
# return nerd_tree_txt
# else:
# nerd_tree_txt += ' (0 - 0 ▾)'
items = [] items = []