[elbe-devel] [PATCH v2 04/22] virtapt: style fixes
Bastian Germann
bage at linutronix.de
Tue Jul 2 16:28:32 CEST 2019
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Reviewed-by: Bastian Germann <bage at linutronix.de>
> ---
> elbepack/virtapt.py | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/elbepack/virtapt.py b/elbepack/virtapt.py
> index 2f5d4965b..e064b7328 100644
> --- a/elbepack/virtapt.py
> +++ b/elbepack/virtapt.py
> @@ -243,7 +243,7 @@ class VirtApt(object):
> while togo:
> pp = togo.pop()
> try:
> - pkg= self.cache[pp]
> + pkg = self.cache[pp]
> c = d.get_candidate_ver(pkg)
> except KeyError:
> pkg = None
> @@ -268,11 +268,14 @@ class VirtApt(object):
>
> 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()
>
More information about the elbe-devel
mailing list