diff options
author | 2011-09-30 12:08:31 -0700 | |
---|---|---|
committer | 2011-09-30 12:08:31 -0700 | |
commit | ed3b2b43aa329d007f7bb0eb303b3f74e927970a (patch) | |
tree | ae00ad2be42dbbebf713c5061bcc93e812fa3e91 /pym/portage/repository | |
parent | layout.conf: allow a repository to state the cache is authorative (diff) | |
download | portage-ed3b2b43aa329d007f7bb0eb303b3f74e927970a.tar.gz portage-ed3b2b43aa329d007f7bb0eb303b3f74e927970a.tar.bz2 portage-ed3b2b43aa329d007f7bb0eb303b3f74e927970a.zip |
Fix 'authoritative' spelling.
Diffstat (limited to 'pym/portage/repository')
-rw-r--r-- | pym/portage/repository/config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 692445013..424b89db2 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -43,7 +43,7 @@ class RepoConfig(object): __slots__ = ['aliases', 'eclass_overrides', 'eclass_locations', 'location', 'user_location', 'masters', 'main_repo', 'missing_repo_name', 'name', 'priority', 'sync', 'format', 'sign_manifest', 'thin_manifest', - 'allow_missing_manifest', 'create_manifest', 'disable_manifest', 'cache_is_authorative'] + 'allow_missing_manifest', 'create_manifest', 'disable_manifest', 'cache_is_authoritative'] def __init__(self, name, repo_opts): """Build a RepoConfig with options in repo_opts @@ -117,7 +117,7 @@ class RepoConfig(object): self.allow_missing_manifest = False self.create_manifest = True self.disable_manifest = False - self.cache_is_authorative = False + self.cache_is_authoritative = False def load_manifest(self, *args, **kwds): kwds['thin'] = self.thin_manifest @@ -358,7 +358,7 @@ class RepoConfigLoader(object): repo.allow_missing_manifest = manifest_policy != 'strict' repo.create_manifest = manifest_policy != 'false' repo.disable_manifest = manifest_policy == 'false' - repo.cache_is_authorative = layout_data.get('authorative-cache', 'false').lower() == 'true' + repo.cache_is_authoritative = layout_data.get('authoritative-cache', 'false').lower() == 'true' #Take aliases into account. new_prepos = {} |