Catch errors in boobill (cmds without args)

Closes #1303
This commit is contained in:
Florent 2013-10-28 18:25:17 +01:00
commit c712da56a3
2 changed files with 22 additions and 5 deletions

View file

@ -247,7 +247,6 @@ class ReplApplication(Cmd, ConsoleApplication):
if len(self.objects) > 0:
return self.objects
elif method is not None:
fields = None
kwargs['backends'] = self.enabled_backends
for backend, object in self.weboob.do(self._do_complete, None, None, method, *args, **kwargs):
self.add_object(object)