account for one-tuple return
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Wed, 29 Jan 2020 09:28:34 +0000 (10:28 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 1 Feb 2020 13:42:43 +0000 (14:42 +0100)
commit04263795dfc82187bf5ef36f88648c9b8f7be25e
tree52e0c663b8eb7eddb3d89d2bdd6683d0d7db50b2
parentc89d123c85b30fc81e89d144c5a4e5fea5c7e127
account for one-tuple return

For some reason, feeding ``(0,)'' into os.read() as the length
argument fails with newer versions of python. Fix this by
unpacking the single element ``tuple'' before using it.
deltatar/tarfile.py