From 0646a2b3be10bde0d98d0f61af737d80c4645a52 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 14 Apr 2021 13:40:33 -0500 Subject: xml: T3475: disable processing of syntaxVersion element (cherry picked from commit bafdc46e7af94b32aa3fed90c287ac170d764b7d) --- python/vyos/xml/load.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/xml/load.py') 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()) -- cgit v1.2.3