Index: tools/telemetry/examples/list_available_browsers |
diff --git a/tools/telemetry/examples/list_available_browsers b/tools/telemetry/examples/list_available_browsers |
index 58056fafdb3b2f24e0ff529964d1df3c27e1d87e..b745dbff8535b56c21eead42fd5d1238186c6678 100755 |
--- a/tools/telemetry/examples/list_available_browsers |
+++ b/tools/telemetry/examples/list_available_browsers |
@@ -2,20 +2,22 @@ |
# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+ |
import os |
import sys |
- |
-sys.path.append(os.path.join(os.path.dirname(__file__), '..')) |
+sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir)) |
from telemetry.core import browser_options |
+ |
def Main(args): |
- options = browser_options.BrowserOptions() |
- options.browser_type = 'list'; |
+ options = browser_options.BrowserFinderOptions() |
+ options.browser_type = 'list' |
parser = options.CreateParser('list_available_browsers') |
parser.parse_args() |
return 0 |
+ |
if __name__ == '__main__': |
sys.exit(Main(sys.argv[1:])) |