remove debug print
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# $Id: hbd,v 1.27 2012/03/29 00:04:34 andreas Exp $
|
# $Id: hbd,v 1.28 2012/03/29 00:08:19 andreas Exp $
|
||||||
# Wait for heartbeat messages and act on them (or their absence)
|
# Wait for heartbeat messages and act on them (or their absence)
|
||||||
#
|
#
|
||||||
import time, os, string, sys, socket, atexit, select, SocketServer, getopt, signal, cPickle
|
import time, os, string, sys, socket, atexit, select, SocketServer, getopt, signal, cPickle
|
||||||
@@ -276,7 +276,6 @@ def fromaddr(name, addr, boot, interval, acks):
|
|||||||
if not hosts.has_key(name):
|
if not hosts.has_key(name):
|
||||||
addhost(name, addr)
|
addhost(name, addr)
|
||||||
host=hosts[name]
|
host=hosts[name]
|
||||||
print "xx", acks
|
|
||||||
host.doesack=acks
|
host.doesack=acks
|
||||||
if host.addr != addr:
|
if host.addr != addr:
|
||||||
log("%s changed address to %s" % (host.name, addr))
|
log("%s changed address to %s" % (host.name, addr))
|
||||||
|
|||||||
Reference in New Issue
Block a user