BIND 10 trac1180, updated. ad134a3c515577b5fbff5d05733bdf8d4265fb45 [1180] address review comments

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Oct 24 08:42:37 UTC 2011


The branch, trac1180 has been updated
       via  ad134a3c515577b5fbff5d05733bdf8d4265fb45 (commit)
      from  1561a91d494d02fbddbac1023b2c84367cb1887d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ad134a3c515577b5fbff5d05733bdf8d4265fb45
Author: Jelte Jansen <jelte at isc.org>
Date:   Mon Oct 24 10:38:43 2011 +0200

    [1180] address review comments

-----------------------------------------------------------------------

Summary of changes:
 src/bin/msgq/msgq.py.in |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/msgq/msgq.py.in b/src/bin/msgq/msgq.py.in
index 28a54f9..333ae89 100755
--- a/src/bin/msgq/msgq.py.in
+++ b/src/bin/msgq/msgq.py.in
@@ -28,7 +28,6 @@ import struct
 import errno
 import time
 import select
-import pprint
 import random
 from optparse import OptionParser, OptionValueError
 import isc.util.process
@@ -293,9 +292,6 @@ class MsgQ:
             sys.stderr.write("[b10-msgq] Routing decode error: %s\n" % err)
             return
 
-#        sys.stdout.write("\t" + pprint.pformat(routingmsg) + "\n")
-#        sys.stdout.write("\t" + pprint.pformat(data) + "\n")
-
         self.process_command(fd, sock, routingmsg, data)
 
     def process_command(self, fd, sock, routing, data):
@@ -363,7 +359,8 @@ class MsgQ:
                 # in the case the other side seems gone, kill the socket
                 # and drop the send action
                 if sockerr.errno == errno.EPIPE:
-                    print("[b10-msgq] SIGPIPE on send, dropping message")
+                    print("[b10-msgq] SIGPIPE on send, dropping message " +
+                          "and closing connection")
                     self.kill_socket(fileno, sock)
                     return
                 else:




More information about the bind10-changes mailing list