fix typos

This commit is contained in:
andreas
2010-08-21 12:23:51 +00:00
parent 77e6a707ef
commit c9240e9bb4
+3 -3
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# $Id: hbd,v 1.19 2010/08/21 12:19:22 andreas Exp $
# $Id: hbd,v 1.20 2010/08/21 12:23:51 andreas Exp $
# Wait for heartbeat messages and act on them (or their absence)
#
import time, os, string, sys, socket, atexit, select, SocketServer, getopt, signal, cPickle
@@ -58,7 +58,7 @@ class Host:
def __init__(self, name, addr):
global num
self.name=shotname(name)
self.name=shortname(name)
self.addr=addr
self.num=num
self.lastbeat=time.time()
@@ -312,7 +312,7 @@ def readsock():
elif key == 'interval':
interval=int(val)
elif key == 'name':
name=sortname(val)
name=shortname(val)
elif key == 'msg':
msg=val
elif key == 'service':