diff options
| author | Michael Vogt <mvo@debian.org> | 2010-12-22 11:11:10 +0100 |
|---|---|---|
| committer | Michael Vogt <mvo@debian.org> | 2010-12-22 11:11:10 +0100 |
| commit | d3d1874886839dabdabeab94ccee7b1fb449c66e (patch) | |
| tree | 5ad17ad8dc07c02af00a4fc24e34896f7f2442e2 /apt/debfile.py | |
| parent | 674f6c2e21b8f59a6a23089eb8da5f210f865bc2 (diff) | |
| parent | 33dd13058d468772153e3182c7d8b126f1e0f6ba (diff) | |
| download | python-apt-d3d1874886839dabdabeab94ccee7b1fb449c66e.tar.gz | |
merged from lp:~mvo/python-apt/mvo
Diffstat (limited to 'apt/debfile.py')
| -rw-r--r-- | apt/debfile.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt/debfile.py b/apt/debfile.py index 0a740c63..996a4cb3 100644 --- a/apt/debfile.py +++ b/apt/debfile.py @@ -531,6 +531,8 @@ class DebPackage(object): return s def _get_content(self, part, name, auto_decompress=True, auto_hex=True): + if name.startswith("./"): + name = name[2:] data = part.extractdata(name) # check for zip content if name.endswith(".gz") and auto_decompress: |
