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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/win.py

Issue 2014063002: Run format-webkit on webkitpy code (without string conversion). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 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: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/win.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/win.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/win.py
index b4ee4944932bb7ec077c574755ed45342e399a80..96784e5768553a2dadad05c9e3e3d1ead88ea396 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/win.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/win.py
@@ -121,7 +121,7 @@ class WinPort(base.Port):
# existing entry points to a valid path and has the right command line.
if len(args) == 2 and self._filesystem.exists(args[0]) and args[0].endswith('perl.exe') and args[1] == '-wT':
return True
- except WindowsError, e:
+ except WindowsError as e:
if e.errno != errno.ENOENT:
raise e
# The key simply probably doesn't exist.
@@ -140,7 +140,7 @@ class WinPort(base.Port):
if not self.get_option('disable_breakpad'):
assert not self._crash_service, 'Already running a crash service'
- if self._crash_service_available == None:
+ if self._crash_service_available is None:
self._crash_service_available = self._check_crash_service_available()
if not self._crash_service_available:
return

Powered by Google App Engine
This is Rietveld 408576698