[weboob] [PATCH] [config] add installation status in modules subcommand

Guilhem Bonnefille guilhem.bonnefille at gmail.com
Wed Jun 18 21:18:26 CEST 2014


It is usefull to be able to list all modules, their capabilities
and also their installation state in a single request.
---
 weboob/applications/weboobcfg/weboobcfg.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/weboob/applications/weboobcfg/weboobcfg.py b/weboob/applications/weboobcfg/weboobcfg.py
index 4ef6182..6aba1bf 100644
--- a/weboob/applications/weboobcfg/weboobcfg.py
+++ b/weboob/applications/weboobcfg/weboobcfg.py
@@ -192,6 +192,7 @@ class WeboobCfg(ReplApplication):
             row = OrderedDict([('Name', name),
                                ('Capabilities', ', '.join(info.capabilities)),
                                ('Description', info.description),
+                               ('Installed', info.is_installed()),
                                ])
             self.format(row)
 
-- 
2.0.0




More information about the weboob mailing list