Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1266)

Unified Diff: test/configurations/target_platform/gyptest-target_platform.py

Issue 1454433002: Python 3 compatibility Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Rebase with master (4ec6c4e3a94bd04a6da2858163d40b2429b8aad1) Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698