summaryrefslogtreecommitdiffstats
path: root/scons/dxsdk.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/dxsdk.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/dxsdk.py')
-rw-r--r--scons/dxsdk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/dxsdk.py b/scons/dxsdk.py
index 920cc2f689d..9657f58f4d2 100644
--- a/scons/dxsdk.py
+++ b/scons/dxsdk.py
@@ -51,7 +51,7 @@ def generate(env):
elif env['machine'] == 'x86_64':
target_cpu = 'x64'
else:
- raise SCons.Errors.InternalError, "Unsupported target machine"
+ raise SCons.Errors.InternalError("Unsupported target machine")
include_dir = os.path.join(dxsdk_root, 'Include')
lib_dir = os.path.join(dxsdk_root, 'Lib', target_cpu)