better message

This commit is contained in:
2013-09-03 17:17:52 -04:00
parent 93c407a9e3
commit cc00f6e82e
+1 -3
View File
@@ -206,9 +206,7 @@ while up:
up=0
msg="shutdown=1;name=%s;acks=%s" % (iam, ackcount)
for hb_host in hb_hosts:
if verbose: print "sock.send('%s', (%s, %s))" % (msg, hb_host, hb_port)
if verbose: print "hbc: sock.send('%s', (%s, %s))" % (msg, hb_host, hb_port)
sock.sendto(msg, (hb_host, hb_port))
time.sleep(1)
sock.close()