summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-10-21 09:10:46 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-10-21 09:10:46 +0200
commit50756e0efb5081d3379fa874ca41ab57bdf2798d (patch)
tree792ea54a45991d98ba9c03a1974888e15c1630f0 /python
parentf17fc818cca41668bb6358e490ff3278e64fa493 (diff)
downloadpython-apt-50756e0efb5081d3379fa874ca41ab57bdf2798d.tar.gz
* tests/test_aptsources.py:
- use unlzma from xz-utils instead of lzma to follow what dpkg is using (LP: #868188) * debian/control: - add recommends to xz-lzma to ensure we have the unlzma command
Diffstat (limited to 'python')
-rw-r--r--python/tar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tar.cc b/python/tar.cc
index b994d4e7..4109776c 100644
--- a/python/tar.cc
+++ b/python/tar.cc
@@ -181,7 +181,7 @@ PyObject *debExtract(PyObject *Self,PyObject *Args)
if (strcmp(".bz2", &Chunk[strlen(Chunk)-4]) == 0)
Comp = "bzip2";
else if(strcmp(".lzma", &Chunk[strlen(Chunk)-5]) == 0)
- Comp = "lzma";
+ Comp = "unlzma";
ExtractTar Tar(Deb.GetFile(),Member->Size,Comp);
ProcessTar Proc(Function);
if (Tar.Go(Proc) == false)