]> arthur.barton.de Git - bup.git/commit
compat: add "with pending_raise(ex)" to simplify nested exceptions
authorRob Browning <rlb@defaultvalue.org>
Sat, 12 Sep 2020 22:14:21 +0000 (17:14 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 22 Nov 2020 19:14:28 +0000 (13:14 -0600)
commitea3cadffc728f5a8262243f6f9cafdc331b12b2b
tree51ba9b606648896192957050d7fba24a1861a614
parent5d83043c64d60f9e71b0c1c6dc93824f68ee2cba
compat: add "with pending_raise(ex)" to simplify nested exceptions

Thanks to Johannes Berg for the suggesting the approach.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
CODINGSTYLE
Makefile
lib/bup/compat.py
lib/bup/t/tcompat.py [new file with mode: 0644]