aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)