Index: test/configurations/target_platform/gyptest-target_platform.py |
diff --git a/test/configurations/target_platform/gyptest-target_platform.py b/test/configurations/target_platform/gyptest-target_platform.py |
index ae4e9e5a2dffe2149b8c31d08f1016a4a99e401b..1645d6ec08e36715306ae4ee9cc9379d516b4266 100755 |
--- a/test/configurations/target_platform/gyptest-target_platform.py |
+++ b/test/configurations/target_platform/gyptest-target_platform.py |
@@ -15,7 +15,7 @@ import TestCommon |
def RunX64(exe, stdout): |
try: |
test.run_built_executable(exe, stdout=stdout) |
- except WindowsError, e: |
+ except WindowsError as e: |
# Assume the exe is 64-bit if it can't load on 32-bit systems. |
# Both versions of the error are required because different versions |
# of python seem to return different errors for invalid exe type. |