]> arthur.barton.de Git - bup.git/commit
ShaBloom.__del__: replace with context management
authorRob Browning <rlb@defaultvalue.org>
Sun, 17 Oct 2021 17:17:36 +0000 (12:17 -0500)
committerRob Browning <rlb@defaultvalue.org>
Mon, 22 Nov 2021 16:35:28 +0000 (10:35 -0600)
commitf2938ade564e0e2b57368da6c5e74cfe5eac4a16
treebb7c1d65733c85351653d28a22ad3f916d5c59d9
parent6a3dea7dbaed2ffb94c020bfaf81f4fef85221cc
ShaBloom.__del__: replace with context management

These changes also just use finally in some cases, instead of the more
complex py2 compatible BaseException/with_pending_raise() catch becase
I'm leaning in favor of just dropping python 2 support soon.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/bloom.py
lib/bup/cmd/bloom.py
lib/bup/gc.py
lib/bup/git.py
test/int/test_bloom.py