| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 import os | 6 import os |
| 6 import sys | 7 import sys |
| 7 | 8 |
| 8 | 9 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir)) |
| 9 sys.path.append(os.path.join(os.path.dirname(__file__), '..')) | |
| 10 | 10 |
| 11 from telemetry.core import browser_options | 11 from telemetry.core import browser_options |
| 12 | 12 |
| 13 |
| 13 def Main(args): | 14 def Main(args): |
| 14 options = browser_options.BrowserOptions() | 15 options = browser_options.BrowserFinderOptions() |
| 15 options.browser_type = 'list'; | 16 options.browser_type = 'list' |
| 16 parser = options.CreateParser('list_available_browsers') | 17 parser = options.CreateParser('list_available_browsers') |
| 17 parser.parse_args() | 18 parser.parse_args() |
| 18 return 0 | 19 return 0 |
| 19 | 20 |
| 21 |
| 20 if __name__ == '__main__': | 22 if __name__ == '__main__': |
| 21 sys.exit(Main(sys.argv[1:])) | 23 sys.exit(Main(sys.argv[1:])) |
| OLD | NEW |