changeset 8119:7e22c4b909b2

vcs: drop unused NodeGeneratorBase()() Creating a whole list seems inefficient ... but it is fortunately not used.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 27 Dec 2019 01:51:14 +0100
parents 5c4074db01d3
children 58b6e4cd6fe9
files kallithea/lib/vcs/nodes.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/vcs/nodes.py	Thu Dec 26 05:28:52 2019 +0100
+++ b/kallithea/lib/vcs/nodes.py	Fri Dec 27 01:51:14 2019 +0100
@@ -45,9 +45,6 @@
         self.cs = cs
         self.current_paths = current_paths
 
-    def __call__(self):
-        return [n for n in self]
-
     def __getitem__(self, key):
         assert isinstance(key, slice), key
         for p in self.current_paths[key]: