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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/host.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/common/host.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/host.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/host.py
index 9eabd44e5dba6d153f00550df31c018131e17a7d..fc74a37893c3cc8f8722d4d6e5e8afe28e50c690 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/host.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/host.py
@@ -86,7 +86,7 @@ class Host(SystemHost):
def _engage_awesome_windows_hacks(self):
try:
self.executive.run_command(['git', 'help'])
- except OSError, e:
+ except OSError as e:
try:
self.executive.run_command(['git.bat', 'help'])
# The Win port uses the depot_tools package, which contains a number
@@ -102,7 +102,7 @@ class Host(SystemHost):
_log.debug('Engaging git.bat Windows hack.')
from webkitpy.common.checkout.scm.git import Git
Git.executable_name = 'git.bat'
- except OSError, e:
+ except OSError as e:
_log.debug('Failed to engage git.bat Windows hack.')
def initialize_scm(self, patch_directories=None):

Powered by Google App Engine
This is Rietveld 408576698