aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-01-28 15:42:42 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-01-29 22:06:11 +0200
commitda34bea893b3b309800e0f03021a99ee58c599d6 (patch)
treefe58634de2ad20678a25292571f5bd2cfdb64847 /mesonbuild/mesonlib.py
parent4e31ca3abeecf0591cccc7052da34c2735759030 (diff)
downloadmeson-da34bea893b3b309800e0f03021a99ee58c599d6.zip
meson-da34bea893b3b309800e0f03021a99ee58c599d6.tar.gz
meson-da34bea893b3b309800e0f03021a99ee58c599d6.tar.bz2
pep8 py37
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 2170fec..8454d79 100644
--- a/mesonbuild/mesonlib.py
+++ b/mesonbuild/mesonlib.py
@@ -608,7 +608,7 @@ def version_compare_condition_with_min(condition, minimum):
# Map versions in the constraint of the form '0.46' to '0.46.0', to embed
# this knowledge of the meson versioning scheme.
condition = condition.strip()
- if re.match('^\d+.\d+$', condition):
+ if re.match(r'^\d+.\d+$', condition):
condition += '.0'
return cmpop(Version(minimum), Version(condition))