Increase timeout to 2 seconds.

This commit is contained in:
Jeremy Fincher 2004-01-15 17:08:57 +00:00
parent 19a63ef669
commit 83cc3132ba

View File

@ -102,7 +102,7 @@ def progstats():
class TimeoutError(IOError):
pass
def pipeReadline(fd, timeout=0.75):
def pipeReadline(fd, timeout=2):
(r, _, _) = select.select([fd], [], [], timeout)
if r:
return r[0].readline()