summaryrefslogtreecommitdiffstats
path: root/scons/crossmingw.py
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-09-19 14:09:01 +0100
committerEric Engestrom <[email protected]>2017-09-25 12:05:47 +0100
commitbb66af95a7e13f433466f612eded97b01e48b6fc (patch)
tree7b1d10b7c03c1ce004e7fb5b3da9c7880eca7ddb /scons/crossmingw.py
parenteb2efbba78ea503c45f1228745cd51219c084a92 (diff)
scons: use python3-compatible exceptions
These changes were generated using python's `2to3` tool. Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'scons/crossmingw.py')
-rw-r--r--scons/crossmingw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/crossmingw.py b/scons/crossmingw.py
index 34129450a56..609cd00418e 100644
--- a/scons/crossmingw.py
+++ b/scons/crossmingw.py
@@ -83,7 +83,7 @@ def shlib_emitter(target, source, env):
no_import_lib = env.get('no_import_lib', 0)
if not dll:
- raise SCons.Errors.UserError, "A shared library should have exactly one target with the suffix: %s" % env.subst("$SHLIBSUFFIX")
+ raise SCons.Errors.UserError("A shared library should have exactly one target with the suffix: %s" % env.subst("$SHLIBSUFFIX"))
if not no_import_lib and \
not env.FindIxes(target, 'LIBPREFIX', 'LIBSUFFIX'):