diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-11-26 11:51:54 -0600 |
---|---|---|
committer | John Estabrook <jestabro@sentrium.io> | 2019-12-03 11:17:48 -0600 |
commit | 145b937d3d8e3734d987b5486fe861f660c6e79b (patch) | |
tree | da670c6d31d9cef41de2fb21d460e5818cbfd574 /src/helpers | |
parent | 41212805fa9db0db590b8207372a3d2ec7382fef (diff) | |
download | vyos-1x-145b937d3d8e3734d987b5486fe861f660c6e79b.tar.gz vyos-1x-145b937d3d8e3734d987b5486fe861f660c6e79b.zip |
T1801: move escaping of backslashes into configtree
Diffstat (limited to 'src/helpers')
-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) |