[elbe-devel] [PATCH 9/9] virtapt: remove get_rpcvirtaptcache() and deps

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


get_rpcvirtaptcache() is broken, by the change of the signature
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 7b836b1cf..35e4b89c2 100644
--- a/elbepack/virtapt.py
+++ b/elbepack/virtapt.py
@@ -253,22 +253,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)
-- 
2.11.0




More information about the elbe-devel mailing list