diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-10-21 09:10:46 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-10-21 09:10:46 +0200 |
| commit | 50756e0efb5081d3379fa874ca41ab57bdf2798d (patch) | |
| tree | 792ea54a45991d98ba9c03a1974888e15c1630f0 /python | |
| parent | f17fc818cca41668bb6358e490ff3278e64fa493 (diff) | |
| download | python-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.cc | 2 |
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) |
