Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: tools/telemetry/telemetry/core/command_line.py

Issue 1051783003: Fix crash when running "run_benchmark help run" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/benchmark_runner.py ('k') | tools/telemetry/telemetry/unittest_util/run_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/command_line.py
diff --git a/tools/telemetry/telemetry/core/command_line.py b/tools/telemetry/telemetry/core/command_line.py
index e26bc7c06ddfc910039d70ba34a2def9919daf75..3e1b55039523242e6379ed464361098bb7d9a1d1 100644
--- a/tools/telemetry/telemetry/core/command_line.py
+++ b/tools/telemetry/telemetry/core/command_line.py
@@ -74,7 +74,8 @@ class OptparseCommand(Command):
# pylint: disable=arguments-differ
pass
- def Run(self, args):
+ def Run(self, args, environment):
+ # pylint: disable=arguments-differ
raise NotImplementedError()
@classmethod
@@ -85,7 +86,7 @@ class OptparseCommand(Command):
options, args = parser.parse_args(args=args)
options.positional_args = args
cls.ProcessCommandLineArgs(parser, options, None)
- return min(cls().Run(options), 255)
+ return min(cls().Run(options, None), 255)
class SubcommandCommand(Command):
« no previous file with comments | « tools/telemetry/telemetry/benchmark_runner.py ('k') | tools/telemetry/telemetry/unittest_util/run_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698