]> arthur.barton.de Git - bup.git/commit
helpers: add close_fds to exo
authorRob Browning <rlb@defaultvalue.org>
Sun, 12 Jan 2020 17:54:26 +0000 (11:54 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 2 Feb 2020 19:30:12 +0000 (13:30 -0600)
commit3f15a783afa7a62c633cc076e88a5d22731ebd8d
tree6f8adef5d32cf52869ecb797c86a5cb1b571b16a
parentb26eaeb08c3c497e9b65122f676bb5f7ef495d21
helpers: add close_fds to exo

Add close_fds to exo() for import-duplicity, and while we're
there, define readpipe in terms of exo(), since it's just a
simplification.

Default close_fds to True, since it doesn't look like we need to
preserve the open fds in our other calls.

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