[elbe-devel] [PATCH 09/11] elbepack: virtapt: delete unused method get_downloaded_files()

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Aug 1 17:53:06 CEST 2024


No point in keeping it.

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

diff --git a/elbepack/virtapt.py b/elbepack/virtapt.py
index e23270cdbdfa..64b31695e7e6 100644
--- a/elbepack/virtapt.py
+++ b/elbepack/virtapt.py
@@ -175,15 +175,6 @@ class VirtApt:
     def do_downloads(self):
         return self.acquire.run()
 
-    def get_downloaded_files(self):
-        ret = []
-        for _, d in self.downloads.items():
-            if d.complete:
-                ret.append(d.destfile)
-            else:
-                print(f'incomplete download "{d.desc_uri}"')
-        return ret
-
     def get_downloaded_pkg(self, pkgname):
         d = self.downloads[pkgname]
 

-- 
2.45.2



More information about the elbe-devel mailing list