summaryrefslogtreecommitdiff
path: root/python/vyos/xml/load.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/xml/load.py')
-rw-r--r--python/vyos/xml/load.py2
1 files changed, 1 insertions, 1 deletions
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())