Browse Source

[1924] (minor) Comment tweaks

Michal 'vorner' Vaner 12 years ago
parent
commit
e15ccdfa19
2 changed files with 4 additions and 3 deletions
  1. 2 2
      src/bin/msgq/msgq.py.in
  2. 2 1
      src/bin/msgq/tests/msgq_test.py

+ 2 - 2
src/bin/msgq/msgq.py.in

@@ -567,8 +567,8 @@ class MsgQ:
             CC_HEADER_REPLY not in routing:
             CC_HEADER_REPLY not in routing:
             # We have no recipients. But the sender insists on a reply
             # We have no recipients. But the sender insists on a reply
             # (and the message isn't a reply itself). We need to send
             # (and the message isn't a reply itself). We need to send
-            # an error to satisfy the senders hunger for response, since
-            # nobody else will do that.
+            # an error to satisfy the request, since there's nobody
+            # else who can.
             #
             #
             # We omit the replies on purpose. The recipient might generate
             # We omit the replies on purpose. The recipient might generate
             # the response by copying and mangling the header of incoming
             # the response by copying and mangling the header of incoming

+ 2 - 1
src/bin/msgq/tests/msgq_test.py

@@ -171,7 +171,8 @@ class MsgQTest(unittest.TestCase):
         of existence of the recipient, addressing schemes, want_answer
         of existence of the recipient, addressing schemes, want_answer
         header and the reply header. It is not needed, these should
         header and the reply header. It is not needed, these should
         be mostly independant (eg. if the recipient is missing, it
         be mostly independant (eg. if the recipient is missing, it
-        shouldn't matter why to the handling of the reply header). If
+        shouldn't matter by which means it was discovered the recipient
+        is missing to how we hendle the value in reply header). If
         we included everything, the test would have too many scenarios.
         we included everything, the test would have too many scenarios.
         """
         """
         sent_messages = []
         sent_messages = []