Browse Source

small documentation update

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac312@2854 e5f2f494-b856-4b98-b285-d166d9295462
Jelte Jansen 14 years ago
parent
commit
f96970c995
2 changed files with 2 additions and 2 deletions
  1. 2 0
      src/lib/python/isc/config/ccsession.py
  2. 0 2
      src/lib/python/isc/config/cfgmgr.py

+ 2 - 0
src/lib/python/isc/config/ccsession.py

@@ -248,6 +248,8 @@ class ModuleCCSession(ConfigData):
            also subscribes to the channel of the remote module name
            also subscribes to the channel of the remote module name
            to receive the relevant updates. It is not possible to
            to receive the relevant updates. It is not possible to
            specify your own handler for this right now.
            specify your own handler for this right now.
+           start() must have been called on this CCSession
+           prior to the call to this method.
            Returns the name of the module."""
            Returns the name of the module."""
         module_spec = isc.config.module_spec_from_file(spec_file_name)
         module_spec = isc.config.module_spec_from_file(spec_file_name)
         module_cfg = ConfigData(module_spec)
         module_cfg = ConfigData(module_spec)

+ 0 - 2
src/lib/python/isc/config/cfgmgr.py

@@ -284,7 +284,6 @@ class ConfigManager:
                                                   conf_part)
                                                   conf_part)
             seq = self.cc.group_sendmsg(update_cmd, module_name)
             seq = self.cc.group_sendmsg(update_cmd, module_name)
             try:
             try:
-                # We have set the timeout to forever, set it now so we won't hang
                 answer, env = self.cc.group_recvmsg(False, seq)
                 answer, env = self.cc.group_recvmsg(False, seq)
             except isc.cc.SessionTimeout:
             except isc.cc.SessionTimeout:
                 answer = ccsession.create_answer(1, "Timeout waiting for answer from " + module_name)
                 answer = ccsession.create_answer(1, "Timeout waiting for answer from " + module_name)
@@ -296,7 +295,6 @@ class ConfigManager:
                                                   conf_part[module_name])
                                                   conf_part[module_name])
             seq = self.cc.group_sendmsg(update_cmd, module_name)
             seq = self.cc.group_sendmsg(update_cmd, module_name)
             # replace 'our' answer with that of the module
             # replace 'our' answer with that of the module
-            # We have set the timeout to forever, set it now so we won't hang
             try:
             try:
                 answer, env = self.cc.group_recvmsg(False, seq)
                 answer, env = self.cc.group_recvmsg(False, seq)
             except isc.cc.SessionTimeout:
             except isc.cc.SessionTimeout: