# HG changeset patch # User twisti # Date 1400755313 -7200 # Node ID babe4565c3714a3d3683680400878b80eb028974 # Parent d1822a8fe26f1ede3f138e17610cd012bd76a5d5 mx: fixed incorrect test for subprocess being alive diff -r d1822a8fe26f -r babe4565c371 mxtool/mx.py --- a/mxtool/mx.py Wed May 21 22:44:46 2014 -0700 +++ b/mxtool/mx.py Thu May 22 12:41:53 2014 +0200 @@ -1847,7 +1847,7 @@ def is_alive(p): if isinstance(p, subprocess.Popen): - return p.poll() is not None + return p.poll() is None assert isinstance(p, multiprocessing.Process), p return p.is_alive()