mesonlib: Fix typo in version_compare error

pull/573/head
Nirbheek Chauhan 9 years ago
parent c33e7a68a1
commit d3e1fe6e1a
  1. 2
      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

Loading…
Cancel
Save