decouple a function decompress out of decompress_tar
authorHelmut Grohne <helmut@subdivi.de>
Thu, 28 Apr 2016 18:50:12 +0000 (20:50 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Thu, 28 Apr 2016 18:50:12 +0000 (20:50 +0200)
commit9ad30297a535a8a8f9bdc945288b02d75a379cb6
treeadacaf54f0e8bce018c89677610fa76f8caeeee5
parenta24b9125ae91cb26e56bac3752b6e38e1dbf264e
decouple a function decompress out of decompress_tar

Building on the previous commit, add a decompress function that turns a
compressed filelike into a decompressed filelike. Use it to decouple the
decompression step.
dedup/compression.py
importpkg.py