diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-10-21 12:14:29 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-10-21 12:14:29 +0200 |
| commit | 5416003d5acd3630bff5b48f69277b5e1d917f20 (patch) | |
| tree | e14eb1ed3134a32eeadaf993e3ff732a1c69d29c | |
| parent | cccf74c205b05cf81bade4269ea7df99c5dcbea7 (diff) | |
| download | python-apt-5416003d5acd3630bff5b48f69277b5e1d917f20.tar.gz | |
apt/debfile.py: really check against architecture
| -rw-r--r-- | apt/debfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/debfile.py b/apt/debfile.py index 0e8bfcad..1d7a4a16 100644 --- a/apt/debfile.py +++ b/apt/debfile.py @@ -92,7 +92,7 @@ class DebPackage(object): return pkgname elif self._cache.is_virtual_package(pkgname): return pkgname - elif self._cache[pkgname].candidate == "all": + elif self._cache[pkgname].candidate.architecture == "all": return pkgname # now do the real multiarch checking multiarch_pkgname = "%s:%s" % (pkgname, self._multiarch) |
