summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-01-19 17:05:57 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2016-07-14 16:21:45 -0400
commite275b567eb5b830897e726d90a0d0d56b080b705 (patch)
treea8a8a2ac3ea63422a4683c3c6193b97af3378ed0 /lib
parentd24c11f2b10a180316168f2078f9ba1bfeb5bb23 (diff)
downloadspack-e275b567eb5b830897e726d90a0d0d56b080b705.tar.gz
spack-e275b567eb5b830897e726d90a0d0d56b080b705.tar.bz2
spack-e275b567eb5b830897e726d90a0d0d56b080b705.tar.xz
spack-e275b567eb5b830897e726d90a0d0d56b080b705.zip
typos: fix some typos
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/package.py6
-rw-r--r--lib/spack/spack/spec.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index 74008c4dd9..f44b235890 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -644,10 +644,10 @@ class Package(object):
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 @@ class Package(object):
(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.
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index 77bc57147d..f55dad3c51 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -1790,7 +1790,7 @@ class Spec(object):
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)