summaryrefslogtreecommitdiff
path: root/third_party/waf/waflib/Tools/compiler_fc.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/waf/waflib/Tools/compiler_fc.py')
-rw-r--r--third_party/waf/waflib/Tools/compiler_fc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/waf/waflib/Tools/compiler_fc.py b/third_party/waf/waflib/Tools/compiler_fc.py
index 8625e04d2c8..0def0180444 100644
--- a/third_party/waf/waflib/Tools/compiler_fc.py
+++ b/third_party/waf/waflib/Tools/compiler_fc.py
@@ -44,7 +44,7 @@ def configure(conf):
conf.start_msg('Checking for %r (Fortran compiler)' % compiler)
try:
conf.load(compiler)
- except conf.errors.ConfigurationError ,e:
+ except conf.errors.ConfigurationError as e:
conf.env.revert()
conf.end_msg(False)
Logs.debug('compiler_fortran: %r', e)
@@ -74,3 +74,4 @@ def options(opt):
for x in test_for_compiler.split():
opt.load('%s' % x)
+