[elbe-devel] [PATCH 02/17] elbepack: projectmanager: drop unused function get_current_project_files

Thomas Weißschuh thomas.weissschuh at linutronix.de
Fri Jul 19 13:30:53 CEST 2024


This function is never used, so delete it.
Also propagate the deletion to other components which are now unused.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/projectmanager.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/elbepack/projectmanager.py b/elbepack/projectmanager.py
index 3fdbd8bd07ce..82b03697a143 100644
--- a/elbepack/projectmanager.py
+++ b/elbepack/projectmanager.py
@@ -165,11 +165,6 @@ class ProjectManager:
 
         self.db.del_project(builddir)
 
-    def get_current_project_files(self, userid):
-        with self.lock:
-            builddir = self._get_current_project(userid).builddir
-            return self.db.get_project_files(builddir)
-
     def open_current_project_file(self, userid, filename, mode='r'):
         with self.lock:
             builddir = self._get_current_project(

-- 
2.45.2



More information about the elbe-devel mailing list