[elbe-devel] [PATCH 11/17] elbepack: projectmanager: drop unused function list_current_project_versions

Thomas Weißschuh thomas.weissschuh at linutronix.de
Fri Jul 19 13:31:02 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 1cd5105e56b9..eb3d0b56a114 100644
--- a/elbepack/projectmanager.py
+++ b/elbepack/projectmanager.py
@@ -177,11 +177,6 @@ class ProjectManager:
             # Make db reload the xml file
             self.db.set_xml(ep.builddir, None)
 
-    def list_current_project_versions(self, userid):
-        with self.lock:
-            ep = self._get_current_project(userid)
-            return self.db.list_project_versions(ep.builddir)
-
     def save_current_project_version(self, userid, description=None):
         with self.lock:
             ep = self._get_current_project(userid, allow_busy=False)

-- 
2.45.2



More information about the elbe-devel mailing list