summaryrefslogtreecommitdiff
path: root/importpkg.py
diff options
context:
space:
mode:
Diffstat (limited to 'importpkg.py')
-rwxr-xr-ximportpkg.py2
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":