first implementation of required fields

This commit is contained in:
Christophe Benz 2010-07-10 03:26:52 +02:00
commit ce27e88049
3 changed files with 28 additions and 9 deletions

View file

@ -240,3 +240,6 @@ class ConsoleApplication(BaseApplication):
super(ConsoleApplication, klass).run(args)
except BackendNotFound, e:
logging.error(e)
def do(self, function, *args, **kwargs):
kwargs['required_fields'] = self.options.select
return self.weboob.do(function, *args, **kwargs)