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.
This commit is contained in:
parent
c1c9b39e9d
commit
7bf794b7e5
1 changed files with 1 additions and 0 deletions
|
|
@ -181,6 +181,7 @@ class ReplApplication(Cmd, ConsoleApplication):
|
||||||
backend_names = (backend_name,) if backend_name is not None else self.enabled_backends
|
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):
|
for backend, obj in self.do(method, _id, backends=backend_names):
|
||||||
if obj:
|
if obj:
|
||||||
|
backend.fillobj(obj, fields)
|
||||||
return obj
|
return obj
|
||||||
|
|
||||||
def unload_backends(self, *args, **kwargs):
|
def unload_backends(self, *args, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue