summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2019-05-18 09:39:23 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2019-05-18 11:39:23 -0500
commite592262da87282491ca58f060b246fb63c8391cc (patch)
tree9cea8e577f35db621b243d7617458ef832689a3b
parent9957093e53f927462868538d0d8e5e5bc96c61d7 (diff)
downloadspack-e592262da87282491ca58f060b246fb63c8391cc.tar.gz
spack-e592262da87282491ca58f060b246fb63c8391cc.tar.bz2
spack-e592262da87282491ca58f060b246fb63c8391cc.tar.xz
spack-e592262da87282491ca58f060b246fb63c8391cc.zip
Typos: funciton, woudl, hm,... (#11511)
-rw-r--r--lib/spack/spack/version.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/spack/version.py b/lib/spack/spack/version.py
index 5abe6b84e2..0235ce0182 100644
--- a/lib/spack/spack/version.py
+++ b/lib/spack/spack/version.py
@@ -38,7 +38,7 @@ __all__ = ['Version', 'VersionRange', 'VersionList', 'ver']
# Valid version characters
VALID_VERSION = r'[A-Za-z0-9_.-]'
-# Infinity-like versions. The order in the list implies the comparision rules
+# Infinity-like versions. The order in the list implies the comparison rules
infinity_versions = ['develop', 'master', 'head', 'trunk']
@@ -467,7 +467,7 @@ class VersionRange(object):
This is essentially the same as overlaps(), but overlaps assumes
that its arguments are specific. That is, 4.7 is interpreted as
- 4.7.0.0.0.0... . This funciton assumes that 4.7 woudl be satisfied
+ 4.7.0.0.0.0... . This function assumes that 4.7 would be satisfied
by 4.7.3.5, etc.
Rationale:
@@ -549,7 +549,7 @@ class VersionRange(object):
# This is tricky:
# 1.6.5 in 1.6 = True (1.6.5 is more specific)
# 1.6 < 1.6.5 = True (lexicographic)
- # Should 1.6 NOT be less than 1.6.5? Hm.
+ # Should 1.6 NOT be less than 1.6.5? Hmm.
# Here we test (not end in other.end) first to avoid paradox.
if other.end is not None and end not in other.end:
if other.end < end or other.end in end: