clarify exception-driven control flow
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Fri, 28 Apr 2017 08:41:27 +0000 (10:41 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commite50fa574e5f76b8ec048568426852cdd0f3e19c3
tree07d64096e707defc2357146b1e81062fec6db837
parentd3f14ff8995c6217115aa91718cb83aade45943f
clarify exception-driven control flow

Distinguish the actual EOF when hit at the beginning from other
IO errors in _init_read_gz() and only catch this one where it’s
expected. Well formed archives do not end inside a header.
deltatar/tarfile.py