Browse Source

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
Likun Zhang 15 years ago
parent
commit
61dd21635c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/bindctl/bindctl-source.py.in

+ 1 - 1
src/bin/bindctl/bindctl-source.py.in

@@ -29,7 +29,7 @@ __version__ = 'Bindctl'
 
 
 def prepare_config_commands(tool):
 def prepare_config_commands(tool):
     '''Prepare fixed commands for local configuration editing'''
     '''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")
     cmd = CommandInfo(name = "show", desc = "Show configuration")
     param = ParamInfo(name = "identifier", type = "string", optional=True)
     param = ParamInfo(name = "identifier", type = "string", optional=True)
     cmd.add_param(param)
     cmd.add_param(param)