diff options
| author | Julian Andres Klode <jak@debian.org> | 2015-06-10 22:13:00 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2015-06-10 22:13:00 +0200 |
| commit | 8020ec7d4a9632fb524c215d89aebae942ea37ad (patch) | |
| tree | ecd417047f47229e52bd05976a851b6babf51922 /apt | |
| parent | 423b06d1a600f3bf8e54817cd087e152e9574b7b (diff) | |
| download | python-apt-8020ec7d4a9632fb524c215d89aebae942ea37ad.tar.gz | |
apt/debfile: Stop special-casing all when looking for a package in the cache
The cache supports :all since the previous commit.
Diffstat (limited to 'apt')
| -rw-r--r-- | apt/debfile.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apt/debfile.py b/apt/debfile.py index 22f96bfc..b116a1aa 100644 --- a/apt/debfile.py +++ b/apt/debfile.py @@ -458,10 +458,6 @@ class DebPackage(object): pkgname = self._sections["Package"] architecture = self._sections["Architecture"] - # Architecture all gets mapped to the native architecture internally - if architecture == 'all': - architecture = apt_pkg.config.find("APT::Architecture") - # Arch qualify the package name pkgname = ":".join([pkgname, architecture]) |
