OLD | NEW |
---|---|
(Empty) | |
1 #!/usr/bin/env python | |
2 # Copyright 2016 The Chromium Authors. All rights reserved. | |
3 # Use of this source code is governed by a BSD-style license that can be | |
4 # found in the LICENSE file. | |
5 | |
6 import sys | |
7 | |
8 from webkitpy.common import host | |
9 from webkitpy.common.checkout.scm.git import Git | |
10 from webkitpy.w3c.update_w3c_test_expectations import main | |
11 | |
12 if __name__ == "__main__": | |
13 _host = host.Host() | |
14 _host._scm = Git('.') | |
qyearsley
2016/07/18 22:55:28
It might also work if you call host.initialize_scm
| |
15 _port = _host.port_factory.get() | |
qyearsley
2016/07/18 22:55:28
No need to use underscores here, since these are l
| |
16 return_code = main(_host, _port) | |
17 | |
18 sys.exit(return_code) | |
OLD | NEW |