From 72a883e2ed1b608c3a0a18720c5f81d28d7c345d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rud=C3=A1=20Moura?= Date: Fri, 22 Aug 2014 19:58:42 -0300 Subject: [PATCH] avocado.plugins.lister: Get plugin docs with description attribute. Signed-off-by: Ruda Moura --- avocado/plugins/lister.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/avocado/plugins/lister.py b/avocado/plugins/lister.py index d7c2c1a9..2926d9a2 100644 --- a/avocado/plugins/lister.py +++ b/avocado/plugins/lister.py @@ -50,5 +50,6 @@ class PluginsList(plugin.Plugin): status = bcolors.healthy_str("Enabled") else: status = bcolors.fail_header_str("Disabled") - pipe.write(format_str % (bcolors.header_str(plug.name), plug.__doc__.strip(), + pipe.write(format_str % (bcolors.header_str(plug.name), + plug.description, status)) -- GitLab