fix incorrect error handling in deltatar
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 5 Jul 2018 09:57:27 +0000 (11:57 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 1 Feb 2020 14:14:06 +0000 (15:14 +0100)
commite76ca7e08fcd8adba1e2507e66905c100a5af0d4
tree9b8f01ba076b3bf9b2af96f5ba8cc12398bc1e3c
parenta20c623982d8f19b6d559ef8d09133c8c215fd23
fix incorrect error handling in deltatar

Account for the fact that the os library converts return values
to exceptions ... It is not documented whether os.open() can ever
return negative values at all.
deltatar/deltatar.py