From 145b937d3d8e3734d987b5486fe861f660c6e79b Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 26 Nov 2019 11:51:54 -0600 Subject: T1801: move escaping of backslashes into configtree --- src/helpers/vyos-merge-config.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/helpers') 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) -- cgit v1.2.3