Needed to s/break/continue/ with new loop.

This commit is contained in:
Paul J. Davis 2010-01-31 17:55:21 -05:00
parent 9e717b8f9c
commit 9dde33c15c

View File

@ -122,12 +122,12 @@ class Worker(object):
self.notify() self.notify()
ret = select.select([self.socket], [], self.PIPE, self.timeout) ret = select.select([self.socket], [], self.PIPE, self.timeout)
if ret[0]: if ret[0]:
break continue
except select.error, e: except select.error, e:
if e[0] == errno.EINTR: if e[0] == errno.EINTR:
break continue
if e[0] == errno.EBADF and self.nr < 0: if e[0] == errno.EBADF and self.nr < 0:
break continue
raise raise
def handle(self, client, addr): def handle(self, client, addr):