[elbe-devel] [PATCH 16/17] elbepack: projectmanager: drop unused function get_debootstrap_pkgs

Thomas Weißschuh thomas.weissschuh at linutronix.de
Fri Jul 19 13:31:07 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 | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/elbepack/projectmanager.py b/elbepack/projectmanager.py
index 6906865ded37..5d96e67d526c 100644
--- a/elbepack/projectmanager.py
+++ b/elbepack/projectmanager.py
@@ -292,16 +292,6 @@ class ProjectManager:
             c = self._get_current_project_apt_cache(userid)
             c.mark_upgrade(pkgname, version)
 
-    def get_debootstrap_pkgs(self, userid):
-        with self.lock:
-            ep = self._get_current_project(userid)
-
-            debootstrap_pkgs = []
-            for p in ep.xml.xml.node('debootstrappkgs'):
-                debootstrap_pkgs.append(p.et.text)
-
-            return debootstrap_pkgs
-
     def apt_mark_keep(self, userid, pkgname, version):
         with self.lock:
             c = self._get_current_project_apt_cache(userid)

-- 
2.45.2



More information about the elbe-devel mailing list