diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-03-28 10:26:38 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-03-28 10:26:38 +0200 |
| commit | 0989a3754b712297386308ee99c7aca1a32e07ad (patch) | |
| tree | ea2ddeb2db895f605749ae34a0792a4b04d03d09 /apt | |
| parent | b372d5e58e5850d6a8a933ac6a2bc46d02e56225 (diff) | |
| parent | 23d4a5fc9ca8dc7a35fd96a48dcb261ac0daf46b (diff) | |
| download | python-apt-0989a3754b712297386308ee99c7aca1a32e07ad.tar.gz | |
merged from lp:~mvo/python-apt/mvo
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 |
