push more functionality into DebExtractor
authorHelmut Grohne <helmut@subdivi.de>
Sun, 1 May 2016 12:31:56 +0000 (14:31 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Sun, 1 May 2016 12:31:56 +0000 (14:31 +0200)
commite6bc38edc9d0b9c8a34971ae8bcf0f0d53607f5e
tree9b54b6992e466792380f95122415c277f184cbc1
parent2aef917cabba4e660f2525a551368532dbc7c195
push more functionality into DebExtractor

The handle_ar_member and handle_ar_end methods now have a default
implementation adding further handlers handle_debversion,
handle_control_tar and handle_data_tar.

In that process two additional bugs were fixed:
 * decompress_tar was wrongly passing errors="surrogateescape" for
   Python 2.x even though that's only supported for Python 3.x.
 * The use of decompress actually passes the extension as unicode.
dedup/compression.py
dedup/debpkg.py
importpkg.py