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