Browse Source

[2676] (minor) Comment tweaks

Michal 'vorner' Vaner 12 years ago
parent
commit
1202738314

+ 1 - 1
src/bin/cmdctl/cmdctl.py.in

@@ -433,7 +433,7 @@ class CommandControl():
             # from the module one (due to threads and blocking), and
             # from the module one (due to threads and blocking), and
             # because the plain cc session does not have the high-level
             # because the plain cc session does not have the high-level
             # rpc-call method, we use the low-level way and create the
             # rpc-call method, we use the low-level way and create the
-            # command ourself.
+            # command ourselves.
             msg = ccsession.create_command(command_name, params)
             msg = ccsession.create_command(command_name, params)
             seq = self._cc.group_sendmsg(msg, module_name, want_answer=True)
             seq = self._cc.group_sendmsg(msg, module_name, want_answer=True)
             logger.debug(DBG_CMDCTL_MESSAGING, CMDCTL_COMMAND_SENT,
             logger.debug(DBG_CMDCTL_MESSAGING, CMDCTL_COMMAND_SENT,

+ 1 - 1
src/lib/python/isc/config/tests/unittest_fakesession.py

@@ -28,7 +28,7 @@ class WouldBlockForever(Exception):
 class FakeModuleCCSession:
 class FakeModuleCCSession:
     def __init__(self):
     def __init__(self):
         self.subscriptions = {}
         self.subscriptions = {}
-        # each entry is of the form [ channel, instance, message ]
+        # each entry is of the form [ channel, instance, message, want_answer ]
         self.message_queue = []
         self.message_queue = []
         self._socket = "ok we just need something not-None here atm"
         self._socket = "ok we just need something not-None here atm"
         # if self.timeout is set to anything other than 0, and
         # if self.timeout is set to anything other than 0, and