Commit 61dd2163 authored by Likun Zhang's avatar Likun Zhang
Browse files

Use constant CONFIG_MODULE_NAME to avoid hardcode name for fake module 'config'

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/likun-value-check@1958 e5f2f494-b856-4b98-b285-d166d9295462
parent b13c2aac
......@@ -29,7 +29,7 @@ __version__ = 'Bindctl'
def prepare_config_commands(tool):
'''Prepare fixed commands for local configuration editing'''
module = ModuleInfo(name = "config", desc = "Configuration commands")
module = ModuleInfo(name = CONFIG_MODULE_NAME, desc = "Configuration commands")
cmd = CommandInfo(name = "show", desc = "Show configuration")
param = ParamInfo(name = "identifier", type = "string", optional=True)
cmd.add_param(param)
......
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