From 451e1f1f22a504d3b0923100fbd89aad66d1416a Mon Sep 17 00:00:00 2001 From: Amber Date: Thu, 7 Mar 2024 12:13:59 +0100 Subject: [PATCH] test mirror on codeberg --- src/tree.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/tree.py b/src/tree.py index c116c7c..22ef128 100644 --- a/src/tree.py +++ b/src/tree.py @@ -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 = []