[PATCH] Fix a bad use of WIFSIGNALED

Chris Lumens clumens at redhat.com
Thu Sep 25 14:25:19 UTC 2014


> Popen.returncode does not encode statuses in the same way as os.wait, so
> using the os.WIF* methods on the returncodes is erroneous. Fix the
> conditional in execReadlines to look for signals in the encoding used by
> Popen and correct exec_readlines_test_exits.
> ---
>  pyanaconda/iutil.py                  | 2 +-
>  tests/pyanaconda_tests/iutil_test.py | 7 ++++---
>  2 files changed, 5 insertions(+), 4 deletions(-)

Looks good.

- Chris


More information about the anaconda-patches mailing list