typos: fix some typos
This commit is contained in:
parent
d24c11f2b1
commit
e275b567eb
@ -644,10 +644,10 @@ def preorder_traversal(self, visited=None, **kwargs):
|
||||
for name in sorted(self.dependencies.keys()):
|
||||
spec = self.dependencies[name]
|
||||
|
||||
# currently, we do not descend into virtual dependencies, as this
|
||||
# Currently, we do not descend into virtual dependencies, as this
|
||||
# makes doing a sensible traversal much harder. We just assume
|
||||
# that ANY of the virtual deps will work, which might not be true
|
||||
# (due to conflicts or unsatisfiable specs). For now this is ok
|
||||
# (due to conflicts or unsatisfiable specs). For now this is ok,
|
||||
# but we might want to reinvestigate if we start using a lot of
|
||||
# complicated virtual dependencies
|
||||
# TODO: reinvestigate this.
|
||||
@ -1270,7 +1270,7 @@ def _sanity_check_extension(self):
|
||||
(self.name, self.extendee.name))
|
||||
|
||||
def do_activate(self, force=False):
|
||||
"""Called on an etension to invoke the extendee's activate method.
|
||||
"""Called on an extension to invoke the extendee's activate method.
|
||||
|
||||
Commands should call this routine, and should not call
|
||||
activate() directly.
|
||||
|
@ -1790,7 +1790,7 @@ def __getitem__(self, name):
|
||||
raise KeyError("No spec with name %s in %s" % (name, self))
|
||||
|
||||
def __contains__(self, spec):
|
||||
"""True if this spec satisfis the provided spec, or if any dependency
|
||||
"""True if this spec satisfies the provided spec, or if any dependency
|
||||
does. If the spec has no name, then we parse this one first.
|
||||
"""
|
||||
spec = self._autospec(spec)
|
||||
|
Loading…
Reference in New Issue
Block a user