[elbe-devel] [PATCH v2 08/22] pkgutils: remove get_uri(), which is not used anymore

Bastian Germann bage at linutronix.de
Tue Jul 2 16:53:58 CEST 2019


> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

Reviewed-by: Bastian Germann <bage 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)
>  
> 



More information about the elbe-devel mailing list