fix resource leaks building recovery index
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Wed, 29 Jan 2020 15:57:57 +0000 (16:57 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 1 Feb 2020 13:42:43 +0000 (14:42 +0100)
commitbcc8b174f2e09799390802d29c32a6c5b88567a6
tree54a461e2496869543738e212b61244be07a9b783
parent58ed14b81561d92147ac123af66c5de26ed72136
fix resource leaks building recovery index

Python 3.7 now emits warnings about possible resource leaks
of which deltatar provokes plenty. The main culprit here is
manual resource management of file handles in face of early
returns by exception.
deltatar/tarfile.py
testing/__init__.py
testing/test_concat_compress.py