summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-03-30 17:13:04 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-03-30 17:13:04 +0200
commit57ed80e7fd4f1d9d819f76acdca460a8ca638266 (patch)
treeaefff2ae098c4f6f59d4eb9b1fbecd8c3a110250 /apt
parent33b79b4717953064130e5be3b3371613e2b7a210 (diff)
parent4bbf76cfa7a42b0cccd650baf3508cf6cfb14c5a (diff)
downloadpython-apt-57ed80e7fd4f1d9d819f76acdca460a8ca638266.tar.gz
* python/arfile.cc, apt/debfile.py:
- add support for .xz archives * tests/test_debfile.py: - add test for xz compression * update priority of python3-apt to match the archive
Diffstat (limited to 'apt')
-rw-r--r--apt/debfile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt/debfile.py b/apt/debfile.py
index 86fd221b..fb4312a1 100644
--- a/apt/debfile.py
+++ b/apt/debfile.py
@@ -40,7 +40,8 @@ class DebPackage(object):
VERSION_SAME,
VERSION_NEWER) = range(4)
- _supported_data_members = ("data.tar.gz", "data.tar.bz2", "data.tar.lzma")
+ _supported_data_members = ("data.tar.gz", "data.tar.bz2", "data.tar.lzma",
+ "data.tar.xz")
debug = 0