| 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):
|
|
|