From 28eac91d62018ad275f86a38c44e5c8fcffeaec8 Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Sun, 5 Jul 2020 14:48:14 +0100 Subject: xml: T2582: rename xml tags The current use of () does not allow to use found() Converting to [] like all other tags --- python/vyos/xml/kw.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python/vyos/xml/kw.py b/python/vyos/xml/kw.py index c85d9e0fd..64521c51a 100644 --- a/python/vyos/xml/kw.py +++ b/python/vyos/xml/kw.py @@ -27,12 +27,12 @@ def found(word): # root -version = '(version)' -tree = '(tree)' -priorities = '(priorities)' -owners = '(owners)' -tags = '(tags)' -default = '(default)' +version = '[version]' +tree = '[tree]' +priorities = '[priorities]' +owners = '[owners]' +tags = '[tags]' +default = '[default]' # nodes -- cgit v1.2.3