diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-13 11:52:05 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-13 11:52:05 +0200 |
| commit | 73050c16039e2adc3cb09b522a0ef36de450737e (patch) | |
| tree | 34fc27d025fb5a586c9cf0dc5978c9ce821ee3fa /python/tar.cc | |
| parent | 19e2e0f210da3fb4cb87cfe1ddd4bbc6c61d8cd1 (diff) | |
| download | python-apt-73050c16039e2adc3cb09b522a0ef36de450737e.tar.gz | |
* add missing bits for the xz compression support for the
0.7 API, thanks to Colin Watson for the fix! (LP: #805389)
* backport xz compression support the debian-sid bzr branch
(LP: #805389)
* apt/utils.py:
- fix end date calculation for releases in june (LP: #602469)
* apt/package.py:
- Fix the changelog downloading if there are several source package
versions available which provide the binary (LP: #377535).
See http://bugs.debian.org/581831 for further details
* debian/control:
- update Vcs-Bzr location
Diffstat (limited to 'python/tar.cc')
| -rw-r--r-- | python/tar.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tar.cc b/python/tar.cc index b994d4e7..e42a9c50 100644 --- a/python/tar.cc +++ b/python/tar.cc @@ -182,6 +182,8 @@ PyObject *debExtract(PyObject *Self,PyObject *Args) Comp = "bzip2"; else if(strcmp(".lzma", &Chunk[strlen(Chunk)-5]) == 0) Comp = "lzma"; + else if(strcmp(".xz", &Chunk[strlen(Chunk)-3]) == 0) + Comp = "xz"; ExtractTar Tar(Deb.GetFile(),Member->Size,Comp); ProcessTar Proc(Function); if (Tar.Go(Proc) == false) |
