summaryrefslogtreecommitdiff
path: root/python/vyos/xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-27 15:25:13 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-27 15:25:13 +0200
commit4af82f00036a079ec0d5e150457063e386af7788 (patch)
treebf429cc053b030ab14804a01267ff4f9a6408c08 /python/vyos/xml
parentb7358c84b98041f38a5479db654c47cd1beec5ca (diff)
downloadvyos-1x-4af82f00036a079ec0d5e150457063e386af7788.tar.gz
vyos-1x-4af82f00036a079ec0d5e150457063e386af7788.zip
xml: T2656: do not flatten dict by default
Diffstat (limited to 'python/vyos/xml')
-rw-r--r--python/vyos/xml/__init__.py4
1 files changed, 2 insertions, 2 deletions
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)