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

Torben Hohn torben.hohn at linutronix.de
Mon May 7 15:51:10 CEST 2018


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>
---
 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




More information about the elbe-devel mailing list