diff options
| author | Ben Finney <ben+debian@benfinney.id.au> | 2008-06-21 01:13:50 +1000 |
|---|---|---|
| committer | Ben Finney <ben+debian@benfinney.id.au> | 2008-06-21 01:13:50 +1000 |
| commit | 08fa9a44bc90b88f05cd8aa14d50892fadda9049 (patch) | |
| tree | 672a4ad547d05fb7fe3110ef610992d56771a4a2 | |
| parent | 535fdf276e94c99ec812aa66cb2a95a29a0c6d48 (diff) | |
| download | python-apt-08fa9a44bc90b88f05cd8aa14d50892fadda9049.tar.gz | |
Fix whitespace in changes from 0.7.6.
| -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 = {} |
