diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-05-28 12:08:14 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-05-28 12:08:14 +0200 |
| commit | 35d1d39728f6e2ef5e025b2359ee6d53911f9cc1 (patch) | |
| tree | dd4b1f8622ea138f704ec848cb489f99289f890a /aptsources | |
| parent | ec243913efd84b2cf8655f7ab82c12398e4f7bc8 (diff) | |
| download | python-apt-35d1d39728f6e2ef5e025b2359ee6d53911f9cc1.tar.gz | |
make MirrorsFile arch specific too
Diffstat (limited to 'aptsources')
| -rw-r--r-- | aptsources/distinfo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aptsources/distinfo.py b/aptsources/distinfo.py index 5c8f7782..9b438701 100644 --- a/aptsources/distinfo.py +++ b/aptsources/distinfo.py @@ -196,7 +196,8 @@ class DistInfo: template.match_uri = value elif field == 'MatchURI-%s' % self.arch: template.match_uri = value - elif field == 'MirrorsFile': + elif (field == 'MirrorsFile' or + field == 'MirrorsFile-%s' % self.arch): if not map_mirror_sets.has_key(value): mirror_set = {} try: |
