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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/host.py

Issue 2136793002: Remove all unused variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 1003eeb64ba2aae02b6d65f2ecbb63f12f75d035..db56c0fb7de4c0cb4b18f4579c2f58756d885cc4 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/host.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/host.py
@@ -85,7 +85,7 @@ class Host(SystemHost):
def _engage_awesome_windows_hacks(self):
try:
self.executive.run_command(['git', 'help'])
- except OSError as e:
+ except OSError:
try:
self.executive.run_command(['git.bat', 'help'])
# The Win port uses the depot_tools package, which contains a number
@@ -101,7 +101,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 as e:
+ except OSError:
_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