diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-09-30 12:08:31 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-09-30 12:08:31 -0700 |
commit | ed3b2b43aa329d007f7bb0eb303b3f74e927970a (patch) | |
tree | ae00ad2be42dbbebf713c5061bcc93e812fa3e91 | |
parent | a72a01746638debe472496bd8fc661992a6ba08b (diff) | |
download | portage-ed3b2b43aa329d007f7bb0eb303b3f74e927970a.tar.gz portage-ed3b2b43aa329d007f7bb0eb303b3f74e927970a.tar.bz2 portage-ed3b2b43aa329d007f7bb0eb303b3f74e927970a.zip |
Fix 'authoritative' spelling.
-rw-r--r-- | pym/portage/cache/template.py | 2 | ||||
-rw-r--r-- | pym/portage/dbapi/porttree.py | 4 | ||||
-rw-r--r-- | pym/portage/repository/config.py | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/pym/portage/cache/template.py b/pym/portage/cache/template.py index 4cb27bff9..847683621 100644 --- a/pym/portage/cache/template.py +++ b/pym/portage/cache/template.py @@ -30,7 +30,7 @@ class database(object): self.readonly = readonly self.sync_rate = 0 self.updates = 0 - self.is_authorative = False + self.is_authoritative = False def __getitem__(self, cpv): """set a cpv to values diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index ab3824727..911dbb5fe 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -218,7 +218,7 @@ class portdbapi(dbapi): conf = self.repositories.get_repo_for_location(x) cache = self._pregen_auxdb[x] = self.metadbmodule( x, "metadata/cache", filtered_auxdbkeys, readonly=True) - cache.is_authorative = conf.cache_is_authorative + cache.is_authoritative = conf.cache_is_authoritative try: cache.ec = self._repo_info[x].eclass_db except AttributeError: @@ -444,7 +444,7 @@ class portdbapi(dbapi): if not eapi: eapi = '0' if not (eapi[:1] == '-' and eapi_is_supported(eapi[1:])): - if auxdb.is_authorative or ( \ + if auxdb.is_authoritative or ( \ emtime == metadata['_mtime_'] and \ eclass_db.is_eclass_data_valid(metadata['_eclasses_'])): doregen = False 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 = {} |