summaryrefslogtreecommitdiff
path: root/src/helpers/vyos-merge-config.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2019-12-03 11:26:12 -0600
committerGitHub <noreply@github.com>2019-12-03 11:26:12 -0600
commit3ea9bcedd56b898005ce9c69148347a73f0d5d7e (patch)
treeda670c6d31d9cef41de2fb21d460e5818cbfd574 /src/helpers/vyos-merge-config.py
parent41212805fa9db0db590b8207372a3d2ec7382fef (diff)
parent145b937d3d8e3734d987b5486fe861f660c6e79b (diff)
downloadvyos-1x-3ea9bcedd56b898005ce9c69148347a73f0d5d7e.tar.gz
vyos-1x-3ea9bcedd56b898005ce9c69148347a73f0d5d7e.zip
Merge pull request #170 from jestabro/T1801
T1801: move escaping of backslashes into configtree
Diffstat (limited to 'src/helpers/vyos-merge-config.py')
-rwxr-xr-xsrc/helpers/vyos-merge-config.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/helpers/vyos-merge-config.py b/src/helpers/vyos-merge-config.py
index e9a14ae98..7ae62cfb3 100755
--- a/src/helpers/vyos-merge-config.py
+++ b/src/helpers/vyos-merge-config.py
@@ -72,9 +72,6 @@ merge_config_tree = ConfigTree(config_file)
effective_config = Config()
output_effective_config = effective_config.show_config()
-# showConfig (called by config.show_config() does not escape
-# backslashes, which configtree expects; cf. T1001.
-output_effective_config = output_effective_config.replace("\\", "\\\\")
effective_config_tree = ConfigTree(output_effective_config)