[elbe-devel] [PATCH 1/6] xmldefaults: remove unused xml_field_path

Manuel Traut manuel.traut at linutronix.de
Mon May 7 16:21:30 CEST 2018


On Mon, May 07, 2018 at 03:51:10PM +0200, Torben Hohn wrote:
> usage of xml_field_path was terminated with:
> 41044abd41ca ("xmldefaults: don't use sys.exit")
> 
> xml_field_path is outdated, and obsolete. remove it
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

Reviewed-by: Manuel Traut <manut at linutronix.de>

will be merged in devel/elbe-3.0

> ---
>  elbepack/xmldefaults.py | 14 --------------
>  1 file changed, 14 deletions(-)
> 
> diff --git a/elbepack/xmldefaults.py b/elbepack/xmldefaults.py
> index 5b438d2b..ebaafcaf 100644
> --- a/elbepack/xmldefaults.py
> +++ b/elbepack/xmldefaults.py
> @@ -169,20 +169,6 @@ defaults = {"armel": armel_defaults,
>              "i386": i386_defaults,
>              "nodefaults": {}}
>  
> -xml_field_path = {
> -    "arch": "project/buildimage/arch",
> -    "size": "project/buildimage/size",
> -    "img": "project/buildimage/img",
> -    "mem": "project/buildimage/mem",
> -    "interpreter": "project/buildimage/interpreter",
> -    "console": "project/buildimage/console",
> -    "machine": "project/buildimage/machine",
> -    "nicmodel": "project/buildimage/NIC/model",
> -    "kinitrd": "project/buildimage/kinitrd",
> -    "name": "project/name"
> -}
> -
> -
>  def get_random_mac():
>      binaddr = [random.randint(0, 255) for i in range(6)]
>      binaddr[0] &= 0xfe
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list