diff options
Diffstat (limited to 'apt')
| -rw-r--r-- | apt/cache.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apt/cache.py b/apt/cache.py index 96b38a57..86a788bb 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -152,8 +152,7 @@ class Cache(object): self._sorted_set = None self._weakref.clear() - self._have_multi_arch = bool(apt_pkg.config.value_list("APT::" + - "Architectures")) + self._have_multi_arch = len(apt_pkg.get_architectures()) > 1 progress.op = _("Building data structures") i = last = 0 |
