/tmp/cvs22511b

This commit is contained in:
andreas
2010-04-02 11:09:05 +00:00
parent d1414be04a
commit b4e9b73465
2 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# $Id: hbd,v 1.17 2007/07/11 19:50:06 andreas Exp $
# $Id: hbd,v 1.18 2010/04/02 11:09:05 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
@@ -365,6 +365,7 @@ class HtmlHandler(SocketServer.BaseRequestHandler):
def handle(self):
f=self.request.makefile()
url='/unknown'
while 1:
line=string.strip(f.readline())
if len(line) == 0: