aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-08-13 18:21:13 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-08-13 18:21:13 +0300
commitcba7ee1cd1e23ccd343a13e221a2006d15fa9c3d (patch)
tree5510f5cf23e675986b1ef070739c1594df7d156c /environment.py
parent08472ed4cc511700b130994eb0ee249e7e24c202 (diff)
downloadmeson-cba7ee1cd1e23ccd343a13e221a2006d15fa9c3d.zip
meson-cba7ee1cd1e23ccd343a13e221a2006d15fa9c3d.tar.gz
meson-cba7ee1cd1e23ccd343a13e221a2006d15fa9c3d.tar.bz2
OCD
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/environment.py b/environment.py
index cf0c671..a9045ef 100644
--- a/environment.py
+++ b/environment.py
@@ -1557,7 +1557,8 @@ class Environment():
version = 'unknown version'
vmatch = re.search(Environment.version_regex, out)
- if vmatch: version = vmatch.group(0)
+ if vmatch:
+ version = vmatch.group(0)
if 'GNU Fortran' in out:
return GnuFortranCompiler([compiler], version, GCC_STANDARD, is_cross, exe_wrap)