From bb66af95a7e13f433466f612eded97b01e48b6fc Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 19 Sep 2017 14:09:01 +0100 Subject: scons: use python3-compatible exceptions These changes were generated using python's `2to3` tool. Signed-off-by: Eric Engestrom --- scons/crossmingw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scons/crossmingw.py') 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'): -- cgit v1.2.3