]> arthur.barton.de Git - bup.git/commit
helpers.py: check subprocess exit status in readpipe().
authorRob Browning <rlb@defaultvalue.org>
Sun, 23 Mar 2014 22:52:59 +0000 (17:52 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 2 May 2014 15:57:35 +0000 (10:57 -0500)
commit829c5fbbf08198e9fc498d9ce4932882ba37dc95
treed7124d976902aab9c4b0ec0201768fa704d7689e
parent002e80a77acd85254fc6ea0dc08f834d93598d13
helpers.py: check subprocess exit status in readpipe().

Checking the exit status seems like a good idea.  Note that we can't
just use check_output() because it wasn't added until Python 2.7.

Thanks to Alexander Barton <alex@barton.de> for reporting the version
incompatibility with respect to an earlier version of this patch.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/helpers.py