Commit fe68c56d authored by Jelte Jansen's avatar Jelte Jansen
Browse files

bindctl printing of configuration values changed to be in JSON format instead...

bindctl printing of configuration values changed to be in JSON format instead of python literals (which is also the format required for input). 1-line change, discussed on jabber.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3694 e5f2f494-b856-4b98-b285-d166d9295462
parent 234c924b
123. [bug] jelte
src/bin/bindctl printed values had the form of python literals
(e.g. 'True'), while the input requires valid JSON (e.g. 'true').
Output changed to JSON format for consistency.
122. [func] stephen
src/bin/bind10: Added configuration options to Boss to determine
whether to start the authoritative server, recursive server (or
......
......@@ -558,7 +558,7 @@ class BindCmdInterpreter(Cmd):
if value_map['type'] in [ 'module', 'map', 'list' ]:
line += "/"
else:
line += ":\t" + str(value_map['value'])
line += ":\t" + json.dumps(value_map['value'])
line += "\t" + value_map['type']
line += "\t"
if value_map['default']:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment