summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-06-10 22:13:00 +0200
committerJulian Andres Klode <jak@debian.org>2015-06-10 22:13:00 +0200
commit8020ec7d4a9632fb524c215d89aebae942ea37ad (patch)
treeecd417047f47229e52bd05976a851b6babf51922 /apt
parent423b06d1a600f3bf8e54817cd087e152e9574b7b (diff)
downloadpython-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.py4
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])