diff options
author | Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2016-01-13 16:19:58 +0100 |
---|---|---|
committer | Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2016-01-13 17:27:17 +0100 |
commit | 791323df72d8bf4f4f4c32a1e7273721f2adc349 (patch) | |
tree | bdac6e82f26150f153be3ed0f699b60e62094a5d /yardstick/cmd | |
parent | 5c4c8667e0c0a8e039d7682f235b022f39149d56 (diff) |
Fix flake8 errors
Change-Id: I14f21092f5e97abf0629a92a27062846a6d3130b
JIRA:-
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Diffstat (limited to 'yardstick/cmd')
-rw-r--r-- | yardstick/cmd/cli.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yardstick/cmd/cli.py b/yardstick/cmd/cli.py index 1f058a5a1..8d75d7d5e 100644 --- a/yardstick/cmd/cli.py +++ b/yardstick/cmd/cli.py @@ -101,8 +101,9 @@ class YardstickCLI(): '''run the command line interface''' # register subcommands to parse additional command line arguments - parser = lambda subparsers: self._add_command_parsers( - YardstickCLI.categories, subparsers) + def parser(subparsers): + self._add_command_parsers(YardstickCLI.categories, subparsers) + category_opt = cfg.SubCommandOpt("category", title="Command categories", help="Available categories", |