[elbe-devel] [PATCH v2 16/22] check_updates: remove some more unused things
Bastian Germann
bage at linutronix.de
Tue Jul 2 17:14:06 CEST 2019
> with the change of VirtApt.__init__() to use ElbeXML, we dont
> need these anymore.
>
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Reviewed-by: Bastian Germann <bage at linutronix.de>
> ---
> elbepack/commands/check_updates.py | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/elbepack/commands/check_updates.py b/elbepack/commands/check_updates.py
> index 91ad160d5..f87419020 100644
> --- a/elbepack/commands/check_updates.py
> +++ b/elbepack/commands/check_updates.py
> @@ -11,10 +11,8 @@ import sys
>
> from optparse import OptionParser
>
> -from elbepack.treeutils import etree
> from elbepack import virtapt
> from elbepack.validate import validate_xml
> -from elbepack.xmldefaults import ElbeDefaults
> from elbepack.shellhelper import system
> from elbepack.elbexml import ElbeXML
>
> @@ -54,10 +52,6 @@ def run_command(argv):
>
> xml = ElbeXML(args[0])
>
> -
> - apt_sources = xml.text("sources_list").replace("10.0.2.2", "localhost")
> - apt_prefs = xml.text("apt_prefs")
> -
> fullp = xml.node("fullpkgs")
>
> v = virtapt.VirtApt(xml)
>
More information about the elbe-devel
mailing list