pmrep: clean up ext header calculation
commitf56ece62992cfeae63ccfed053f8f68a44c22880
authorMarko Myllynen <myllynen@redhat.com>
Wed, 6 Jul 2016 00:00:48 +0000 (6 10:00 +1000)
committerNathan Scott <nathans@redhat.com>
Wed, 6 Jul 2016 00:00:48 +0000 (6 10:00 +1000)
treef291af67aab52abffae1971b31f725b375c8baec
parent606ee366e37c8c8409a50a2bad2fd8b6129980d9
pmrep: clean up ext header calculation

pmrep's write_ext_header() was almost impenetrable, clean it up,
fixes an issue where end time for archives was reported incorrectly
(beyond the end of the archive).
qa/1071.out
src/pmrep/pmrep.py