diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-12-21 18:19:15 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-12-21 18:19:15 +0100 |
| commit | a4bd6f49f40e1dad06530fbcfa5768a8487d84ba (patch) | |
| tree | 62c66fb47ac0c77e8230a041e71c07d3539ed669 /apt | |
| parent | 4861eac4753a9b60ed6df2d25aae0da74b84728a (diff) | |
| parent | b4816b79b3ce90fdabed8e812fc8e6f7109d1de0 (diff) | |
| download | python-apt-a4bd6f49f40e1dad06530fbcfa5768a8487d84ba.tar.gz | |
meged from mvo
Diffstat (limited to 'apt')
| -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: |
