Commit ff6293de authored by Juan Antonio Navarro Perez's avatar Juan Antonio Navarro Perez Committed by Commit Bot

[tools/perf] Fix run_benchmark list command

Bug: 996493
Change-Id: I3ebbe717f4ac64fede6c64afcab142918a9edaf9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763762Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
Commit-Queue: Juan Antonio Navarro Pérez <perezju@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689865}
parent e54fb608
...@@ -82,7 +82,7 @@ def ProcessOptions(options): ...@@ -82,7 +82,7 @@ def ProcessOptions(options):
Args: Args:
options: An options object with values parsed from the command line. options: An options object with values parsed from the command line.
""" """
if not hasattr(options, 'output_formats'): if not getattr(options, 'output_formats', None):
return return
options.output_dir = os.path.expanduser(options.output_dir) options.output_dir = os.path.expanduser(options.output_dir)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment