[elbe-devel] [PATCH 7/9] pkgutils: remove get_uri(), which is not used anymore

Torben Hohn torben.hohn at linutronix.de
Wed Jun 26 11:50:26 CEST 2019


Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/pkgutils.py | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/elbepack/pkgutils.py b/elbepack/pkgutils.py
index 3d6957506..2ed62eef2 100644
--- a/elbepack/pkgutils.py
+++ b/elbepack/pkgutils.py
@@ -55,23 +55,6 @@ def get_key_list(prj):
     return retval
 
 
-def get_uri(prj, defs, arch, target_pkg, incl_deps=False):
-    if arch == "default":
-        arch = prj.text("buildimage/arch", default=defs, key="arch")
-    suite = prj.text("suite")
-
-    apt_sources = get_sources_list(prj)
-    apt_keys = get_key_list(prj)
-
-    if arch == "default":
-        arch = prj.text("buildimage/arch", default=defs, key="arch")
-    suite = prj.text("suite")
-    v = get_virtaptcache(arch, suite, apt_sources, "", apt_keys)
-
-    ret = v.get_uri(target_pkg, incl_deps)
-    return ret
-
-
 def get_dsc_size(fname):
     tf = TagFile(fname)
 
-- 
2.11.0




More information about the elbe-devel mailing list