From 8020ec7d4a9632fb524c215d89aebae942ea37ad Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 10 Jun 2015 22:13:00 +0200 Subject: apt/debfile: Stop special-casing all when looking for a package in the cache The cache supports :all since the previous commit. --- apt/debfile.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apt') 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]) -- cgit v1.2.3