| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import sys | 6 import sys |
| 7 | 7 |
| 8 from webkitpy.common import host | 8 from webkitpy.common import host |
| 9 from webkitpy.common.checkout.scm.git import Git | 9 from webkitpy.common.checkout.scm.git import Git |
| 10 from webkitpy.w3c.update_w3c_test_expectations import main | 10 from webkitpy.w3c.update_w3c_test_expectations import main |
| 11 | 11 |
| 12 if __name__ == "__main__": | 12 if __name__ == "__main__": |
| 13 host = host.Host() | 13 host = host.Host() |
| 14 host.initialize_scm() | 14 host.initialize_scm() |
| 15 port = host.port_factory.get() | 15 port = host.port_factory.get() |
| 16 return_code = main(host, port) | 16 return_code = main(host, port) |
| 17 | 17 |
| 18 sys.exit(return_code) | 18 sys.exit(return_code) |
| OLD | NEW |