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

Unified Diff: test/lib/TestWin.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/lib/TestWin.py
diff --git a/test/lib/TestWin.py b/test/lib/TestWin.py
index 7627197b1f343421f64b46370235a34f72118e41..2234253a3590919ee534abeb11f40b525a9429b2 100644
--- a/test/lib/TestWin.py
+++ b/test/lib/TestWin.py
@@ -63,7 +63,7 @@ class Registry(object):
text = None
try:
text = self._QueryBase('Sysnative', key, value)
- except OSError, e:
+ except OSError as e:
if e.errno == errno.ENOENT:
text = self._QueryBase('System32', key, value)
else:

Powered by Google App Engine
This is Rietveld 408576698