]> arthur.barton.de Git - bup.git/commit
exc: support input arg; return SubprocInfo from exc and exo
authorRob Browning <rlb@defaultvalue.org>
Sun, 26 Nov 2017 19:24:41 +0000 (13:24 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 24 Dec 2017 20:28:24 +0000 (14:28 -0600)
commit54fe64ead9bd668eb9b5c601b581eb89faf919e9
tree30208a33f4da7f72f3044a5e1ac4955e7e0fdf4f
parent019ddf47f3d5ee2c1000be19f7b2367bd45c8b3b
exc: support input arg; return SubprocInfo from exc and exo

Change exo to return a namedtuple so that you can refer to bits of the
result by name.

Base exc on exo so that it can support an input arg (even in python2),
and change both exc and exo to be a thinner wrapper around Popen so
that the arguments will behave roughly the same.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
buptest.py
t/test-prune-older