[svn] commit: r1958 - /branches/likun-value-check/src/bin/bindctl/bindctl-source.py.in
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri May 28 03:01:16 UTC 2010
Author: zhanglikun
Date: Fri May 28 03:01:16 2010
New Revision: 1958
Log:
Use constant CONFIG_MODULE_NAME to avoid hardcode name for fake module 'config'
Modified:
branches/likun-value-check/src/bin/bindctl/bindctl-source.py.in
Modified: branches/likun-value-check/src/bin/bindctl/bindctl-source.py.in
==============================================================================
--- branches/likun-value-check/src/bin/bindctl/bindctl-source.py.in (original)
+++ branches/likun-value-check/src/bin/bindctl/bindctl-source.py.in Fri May 28 03:01:16 2010
@@ -29,7 +29,7 @@
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)
More information about the bind10-changes
mailing list