help="do not use the EGENCACHE_DEFAULT_OPTS environment variable")
common.add_argument("--write-timestamp",
action="store_true",
- help="write metdata/timestamp.chk as required for rsync repositories")
+ help="write metadata/timestamp.chk as required for rsync repositories")
update = parser.add_argument_group('--update options')
update.add_argument("--cache-dir",
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
import errno
self._modified.clear()
def flush(self):
- """If the current user has permission and the internal blocker cache
+ """If the current user has permission and the internal blocker cache has
been updated, save it to disk and mark it unmodified. This is called
- by emerge after it has proccessed blockers for all installed packages.
+ by emerge after it has processed blockers for all installed packages.
Currently, the cache is only written if the user has superuser
privileges (since that's required to obtain a lock), but all users
have read access and benefit from faster blocker lookups (as long as
def _ignore_dependency(self, atom, pkg, child, dep, mypriority, recurse_satisfied):
"""
In some cases, dep_check will return deps that shouldn't
- be proccessed any further, so they are identified and
+ be processed any further, so they are identified and
discarded here. Try to discard as few as possible since
discarded dependencies reduce the amount of information
available for optimization of merge order.
priority=mypriority, root=dep_root)
# In some cases, dep_check will return deps that shouldn't
- # be proccessed any further, so they are identified and
+ # be processed any further, so they are identified and
# discarded here. Try to discard as few as possible since
# discarded dependencies reduce the amount of information
# available for optimization of merge order.
-# Copyright 2012 Gentoo Foundation
+# Copyright 2012-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from portage.tests import TestCase