From 4af82f00036a079ec0d5e150457063e386af7788 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 27 Jun 2020 15:25:13 +0200 Subject: xml: T2656: do not flatten dict by default --- python/vyos/xml/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/vyos') diff --git a/python/vyos/xml/__init__.py b/python/vyos/xml/__init__.py index bda8c96c5..6e0e73b1b 100644 --- a/python/vyos/xml/__init__.py +++ b/python/vyos/xml/__init__.py @@ -9,7 +9,7 @@ # See the GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License along with this library; -# if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA from vyos.xml import definition @@ -35,7 +35,7 @@ def load_configuration(cache=[]): return xml -def defaults(lpath, flat=True): +def defaults(lpath, flat=False): return load_configuration().defaults(lpath, flat) -- cgit v1.2.3