summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-04-14 13:40:33 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-04-14 16:27:52 -0500
commitbafdc46e7af94b32aa3fed90c287ac170d764b7d (patch)
tree993fb02cfb1509981d4214e39f387935ededdedb /python
parent95bda816390a1aa0a2da3d1e93fb8bc05012d57b (diff)
downloadvyos-1x-bafdc46e7af94b32aa3fed90c287ac170d764b7d.tar.gz
vyos-1x-bafdc46e7af94b32aa3fed90c287ac170d764b7d.zip
xml: T3475: disable processing of syntaxVersion element
Diffstat (limited to 'python')
-rw-r--r--python/vyos/xml/kw.py1
-rw-r--r--python/vyos/xml/load.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/python/vyos/xml/kw.py b/python/vyos/xml/kw.py
index 64521c51a..58d47e751 100644
--- a/python/vyos/xml/kw.py
+++ b/python/vyos/xml/kw.py
@@ -27,7 +27,6 @@ def found(word):
# root
-version = '[version]'
tree = '[tree]'
priorities = '[priorities]'
owners = '[owners]'
diff --git a/python/vyos/xml/load.py b/python/vyos/xml/load.py
index 1f463a5b7..0965d4220 100644
--- a/python/vyos/xml/load.py
+++ b/python/vyos/xml/load.py
@@ -115,7 +115,7 @@ def _format_nodes(inside, conf, xml):
nodetype = 'tagNode'
nodename = kw.tagNode
elif 'syntaxVersion' in conf.keys():
- r[kw.version] = conf.pop('syntaxVersion')['@version']
+ conf.pop('syntaxVersion')
continue
else:
_fatal(conf.keys())