diff options
| -rw-r--r-- | apt/cache.py | 2 | ||||
| -rw-r--r-- | aptsources/distinfo.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apt/cache.py b/apt/cache.py index 36e3df8e..340b5696 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -51,7 +51,7 @@ class Cache(object): self._callbacks = {} if memonly: # force apt to build its caches in memory - apt_pkg.Config.Set("Dir::Cache::pkgcache","") + apt_pkg.Config.Set("Dir::Cache::pkgcache", "") if rootdir: apt_pkg.Config.Set("Dir", rootdir) apt_pkg.Config.Set( diff --git a/aptsources/distinfo.py b/aptsources/distinfo.py index d7dfd970..a309a548 100644 --- a/aptsources/distinfo.py +++ b/aptsources/distinfo.py @@ -222,7 +222,7 @@ class DistInfo: template.match_uri = value elif field == 'MatchURI-%s' % self.arch: template.match_uri = value - elif (field == 'MirrorsFile' or + elif (field == 'MirrorsFile' or field == 'MirrorsFile-%s' % self.arch): if not map_mirror_sets.has_key(value): mirror_set = {} |
