[elbe-devel] [PATCH v2 10/22] virtapt: remove get_rpcvirtaptcache() and deps
Torben Hohn
torben.hohn at linutronix.de
Tue Jul 2 12:55:32 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 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)
--
2.11.0
More information about the elbe-devel
mailing list