Ensure files are closed when starting new volume.
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Tue, 19 Jul 2016 10:54:15 +0000 (12:54 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 12 Nov 2020 14:03:08 +0000 (15:03 +0100)
commit75ff2f499d65bc3aa775ed376eff836923d5bdcd
treedace795824de2bdd647d22d4cb6fec6267cb08d0
parent874db6f0c9b2504002a389dca90e5c5a0f4e0c89
Ensure files are closed when starting new volume.

Move closing of old volume from handler to own code (handlers might
try to close again, should not be a problem).

Also ensure files are closed if volume handler fails.
deltatar/tarfile.py