提交 a107348c 编写于 作者: R Rudá Moura

avocado.plugins.runner: Remove unnecessary print_help().

The code seems to be dead (ineffective) at this part, since argparse
already checks previously if the url argument is passed.
Signed-off-by: NRudá Moura <rmoura@redhat.com>
上级 c48a88ca
...@@ -139,7 +139,4 @@ class TestRunner(plugin.Plugin): ...@@ -139,7 +139,4 @@ class TestRunner(plugin.Plugin):
job_instance = job.Job(args) job_instance = job.Job(args)
rc = job_instance.run() rc = job_instance.run()
if not args.url:
self.parser.print_help()
return rc return rc
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册