Mercurial > hg > truffle
changeset 4161:8c507a8dd6a4
Interpret '--timeout 0' correctly (i.e. as no timeout).
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 23 Dec 2011 09:41:41 +0100 |
parents | 338d46581e03 |
children | 784f7e262d60 |
files | mxtool/mx.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx.py Fri Dec 23 09:28:09 2011 +0100 +++ b/mxtool/mx.py Fri Dec 23 09:41:41 2011 +0100 @@ -558,7 +558,7 @@ t = Thread(target=redirect, args=(p.stderr, err)) t.daemon = True # thread dies with the program t.start() - if timeout is None: + if timeout is None or timeout == 0: retcode = p.wait() else: if get_os() == 'windows':