This commit is contained in:
andreas
2010-08-21 12:29:33 +00:00
parent c9240e9bb4
commit 763590485c
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# $Id: hbd,v 1.20 2010/08/21 12:23:51 andreas Exp $
# $Id: hbd,v 1.21 2010/08/21 12:29:33 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
@@ -371,7 +371,7 @@ class HtmlHandler(SocketServer.BaseRequestHandler):
def handle(self):
f=self.request.makefile()
url='/unknown'
uri='/unknown'
while 1:
line=string.strip(f.readline())
if len(line) == 0: