diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-12-03 11:26:12 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-03 11:26:12 -0600 |
commit | 3ea9bcedd56b898005ce9c69148347a73f0d5d7e (patch) | |
tree | da670c6d31d9cef41de2fb21d460e5818cbfd574 /src/helpers/vyos-merge-config.py | |
parent | 41212805fa9db0db590b8207372a3d2ec7382fef (diff) | |
parent | 145b937d3d8e3734d987b5486fe861f660c6e79b (diff) | |
download | vyos-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-x | src/helpers/vyos-merge-config.py | 3 |
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) |