summaryrefslogtreecommitdiff
path: root/third_party/waf/waflib/Tools/compiler_d.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/waf/waflib/Tools/compiler_d.py')
-rw-r--r--third_party/waf/waflib/Tools/compiler_d.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/waf/waflib/Tools/compiler_d.py b/third_party/waf/waflib/Tools/compiler_d.py
index 690d1469896..6146d7b2cae 100644
--- a/third_party/waf/waflib/Tools/compiler_d.py
+++ b/third_party/waf/waflib/Tools/compiler_d.py
@@ -5,7 +5,7 @@
#!/usr/bin/env python
# encoding: utf-8
# Carlos Rafael Giani, 2007 (dv)
-# Thomas Nagy, 2016 (ita)
+# Thomas Nagy, 2016-2018 (ita)
"""
Try to detect a D compiler from the list of supported compilers::
@@ -58,7 +58,7 @@ def configure(conf):
conf.start_msg('Checking for %r (D 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_d: %r', e)
@@ -86,3 +86,4 @@ def options(opt):
for x in test_for_compiler.split():
opt.load('%s' % x)
+