From 7bf794b7e570bb18b956c841898c53c86df2169e Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Thu, 21 Apr 2011 22:59:30 +0200 Subject: [PATCH] Add missing fillobj() call on get_object fillobj was only called when getting previously fetched objects in interactive mode. This probably wasn't detected because most get_* backend functions usually fill a lot of fields by themselves. --- weboob/tools/application/repl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/weboob/tools/application/repl.py b/weboob/tools/application/repl.py index 21916680..0433d93a 100644 --- a/weboob/tools/application/repl.py +++ b/weboob/tools/application/repl.py @@ -181,6 +181,7 @@ class ReplApplication(Cmd, ConsoleApplication): backend_names = (backend_name,) if backend_name is not None else self.enabled_backends for backend, obj in self.do(method, _id, backends=backend_names): if obj: + backend.fillobj(obj, fields) return obj def unload_backends(self, *args, **kwargs):