diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-07-29 21:44:56 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-07-29 21:44:56 +0200 |
commit | 11c6897331d4df7704217d6718c0ad57dc567529 (patch) | |
tree | 3759a44fa4c29cbe90ed2d0e7b1d81ea8ad0c828 | |
parent | e88f5f74cebed92c42543ce0682a8a49075d859b (diff) | |
download | debian-dedup-11c6897331d4df7704217d6718c0ad57dc567529.tar.gz |
importpkg.py: support uncompressed data.tar
-rwxr-xr-x | importpkg.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/importpkg.py b/importpkg.py index 2f38f5c..02d4936 100755 --- a/importpkg.py +++ b/importpkg.py @@ -109,6 +109,8 @@ def process_package(filelike): elif name == "data.tar.xz": zf = DecompressedStream(af, lzma.LZMADecompressor()) tf = tarfile.open(fileobj=zf, mode="r|") + elif name == "data.tar": + tf = tarfile.open(fileobj=af, mode="r|") else: continue if state != "control_file": |