[elbe-devel] [PATCH v2 10/22] virtapt: remove get_rpcvirtaptcache() and deps

Bastian Germann bage at linutronix.de
Tue Jul 2 16:55:54 CEST 2019


> get_rpcvirtaptcache() is broken, by the change of the signature

Reviewed-by: Bastian Germann <bage at linutronix.de>

> of the constructor.
> 
> Its not used anyways. Remove it.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
>  elbepack/virtapt.py | 19 -------------------
>  1 file changed, 19 deletions(-)
> 
> diff --git a/elbepack/virtapt.py b/elbepack/virtapt.py
> index 8e50ebe1a..79d7123b2 100644
> --- a/elbepack/virtapt.py
> +++ b/elbepack/virtapt.py
> @@ -255,22 +255,3 @@ class VirtApt(object):
>                      togo.append(p)
>  
>          return list(set(deps))
> -
> -
> -class MyMan(BaseManager):
> -    pass
> -
> -
> -MyMan.register("VirtRPCAPTCache", VirtApt)
> -
> -
> -def get_virtaptcache(arch, suite, sources, prefs, keylist=None):
> -    mm = MyMan()
> -    mm.start()
> -
> -    # Disable false positive, because pylint can not
> -    # see the creation of MyMan.VirtRPCAPTCache by
> -    # MyMan.register()
> -    #
> -    # pylint: disable=no-member
> -    return mm.VirtRPCAPTCache(arch, suite, sources, prefs, keylist)
> 



More information about the elbe-devel mailing list