summaryrefslogtreecommitdiff
path: root/python/vyos/config.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-03-10 10:07:19 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-03-10 12:10:49 -0600
commitef4870e66f8c1cd6df5fba2abbfdde0eac152e0a (patch)
treeb79abe885d3b5392f8b2fa434cd4816833eea581 /python/vyos/config.py
parentfde48b4d303b471f8c56b81bc7fcef0a028bb60a (diff)
downloadvyos-1x-ef4870e66f8c1cd6df5fba2abbfdde0eac152e0a.tar.gz
vyos-1x-ef4870e66f8c1cd6df5fba2abbfdde0eac152e0a.zip
Revert "save-config: T4292: rewrite vyatta-save-config.pl to Python"
This reverts commit c4d389488970c8510200cac96a67182e9333b891. Revert while investigating failure in vyos-configtest.
Diffstat (limited to 'python/vyos/config.py')
-rw-r--r--python/vyos/config.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/python/vyos/config.py b/python/vyos/config.py
index 829167820..a5c1ad122 100644
--- a/python/vyos/config.py
+++ b/python/vyos/config.py
@@ -93,11 +93,6 @@ class Config(object):
(self._running_config,
self._session_config) = self._config_source.get_configtree_tuple()
- def get_config_tree(self, effective=False):
- if effective:
- return self._running_config
- return self._session_config
-
def _make_path(self, path):
# Backwards-compatibility stuff: original implementation used string paths
# libvyosconfig paths are lists, but since node names cannot contain whitespace,