From 791323df72d8bf4f4f4c32a1e7273721f2adc349 Mon Sep 17 00:00:00 2001 From: Jo¶rgen Karlsson Date: Wed, 13 Jan 2016 16:19:58 +0100 Subject: Fix flake8 errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I14f21092f5e97abf0629a92a27062846a6d3130b JIRA:- Signed-off-by: Jo¶rgen Karlsson --- yardstick/cmd/cli.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'yardstick/cmd') 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", -- cgit 1.2.3-korg