add a quiet mode for load_module

This commit is contained in:
Christophe Benz 2010-11-17 14:17:38 +01:00
commit 692caf9453
2 changed files with 7 additions and 6 deletions

View file

@ -196,10 +196,10 @@ class ReplApplication(Cmd, BaseApplication):
params = {}
if not edit:
backend = self.weboob.modules_loader.get_or_load_module(name)
backend = self.weboob.modules_loader.get_or_load_module(name, quiet=True)
else:
bname, items = self.weboob.backends_config.get_backend(name)
backend = self.weboob.modules_loader.get_or_load_module(bname)
backend = self.weboob.modules_loader.get_or_load_module(bname, quiet=True)
items.update(params)
params = items
if not backend: