[svn] commit: r2854 - in /branches/trac312/src/lib/python/isc/config: ccsession.py cfgmgr.py

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Sep 7 20:30:24 UTC 2010


Author: jelte
Date: Tue Sep  7 20:30:24 2010
New Revision: 2854

Log:
small documentation update

Modified:
    branches/trac312/src/lib/python/isc/config/ccsession.py
    branches/trac312/src/lib/python/isc/config/cfgmgr.py

Modified: branches/trac312/src/lib/python/isc/config/ccsession.py
==============================================================================
--- branches/trac312/src/lib/python/isc/config/ccsession.py (original)
+++ branches/trac312/src/lib/python/isc/config/ccsession.py Tue Sep  7 20:30:24 2010
@@ -248,6 +248,8 @@
            also subscribes to the channel of the remote module name
            to receive the relevant updates. It is not possible to
            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."""
         module_spec = isc.config.module_spec_from_file(spec_file_name)
         module_cfg = ConfigData(module_spec)

Modified: branches/trac312/src/lib/python/isc/config/cfgmgr.py
==============================================================================
--- branches/trac312/src/lib/python/isc/config/cfgmgr.py (original)
+++ branches/trac312/src/lib/python/isc/config/cfgmgr.py Tue Sep  7 20:30:24 2010
@@ -284,7 +284,6 @@
                                                   conf_part)
             seq = self.cc.group_sendmsg(update_cmd, module_name)
             try:
-                # We have set the timeout to forever, set it now so we won't hang
                 answer, env = self.cc.group_recvmsg(False, seq)
             except isc.cc.SessionTimeout:
                 answer = ccsession.create_answer(1, "Timeout waiting for answer from " + module_name)
@@ -296,7 +295,6 @@
                                                   conf_part[module_name])
             seq = self.cc.group_sendmsg(update_cmd, module_name)
             # replace 'our' answer with that of the module
-            # We have set the timeout to forever, set it now so we won't hang
             try:
                 answer, env = self.cc.group_recvmsg(False, seq)
             except isc.cc.SessionTimeout:




More information about the bind10-changes mailing list