| Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/local_wpt.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/local_wpt.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/local_wpt.py
|
| index 54cb85e5ebd583e668dd18352409c69efdfd6a4c..05c9ac1a5b630d16a4f77a5543f2ea908874e583 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/local_wpt.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/local_wpt.py
|
| @@ -44,8 +44,8 @@ class LocalWPT(object):
|
| _log.info('Cloning %s into %s', WPT_REPO_URL, self.path)
|
| self.host.executive.run_command(['git', 'clone', WPT_REPO_URL, self.path])
|
|
|
| - if use_github and 'github' not in self.run(['git', 'remote']):
|
| - raise Exception('Need to set up remote "github"')
|
| + if 'github' not in self.run(['git', 'remote']):
|
| + self.run(['git', 'remote', 'add', 'github', 'git@github.com:w3c/web-platform-tests.git'])
|
|
|
| def run(self, command, **kwargs):
|
| """Runs a command in the local WPT directory."""
|
|
|