aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-06-05 13:51:03 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-06-05 13:51:03 +0300
commitbcec44b93ba9886f0981f8c1a509d08ec8caf07f (patch)
treec4e8e3320787fdf07d863362a4ce72307ad76d72 /mesonbuild/mesonlib.py
parent0bc00560644d20daee626533fc6e6294d92caa78 (diff)
parentfdc95c2ea413ad9d13b5cc3385fd0904b3361837 (diff)
downloadmeson-bcec44b93ba9886f0981f8c1a509d08ec8caf07f.zip
meson-bcec44b93ba9886f0981f8c1a509d08ec8caf07f.tar.gz
meson-bcec44b93ba9886f0981f8c1a509d08ec8caf07f.tar.bz2
Merge pull request #573 from centricular/dependency-versions
Several fixes to how versioned dependencies are handled + tests
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r--mesonbuild/mesonlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py
index 584b3b2..837f78a 100644
--- a/mesonbuild/mesonlib.py
+++ b/mesonbuild/mesonlib.py
@@ -132,7 +132,7 @@ numpart = re.compile('[0-9.]+')
def version_compare(vstr1, vstr2):
match = numpart.match(vstr1.strip())
if match is None:
- raise MesonException('Unconparable version string %s.' % vstr1)
+ raise MesonException('Uncomparable version string %s.' % vstr1)
vstr1 = match.group(0)
if vstr2.startswith('>='):
cmpop = operator.ge