get_object doesn't request the backend name in IDs (dedicated to fucking nigger pankkake)
This commit is contained in:
parent
30026290c8
commit
367d996d50
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ class ReplApplication(Cmd, ConsoleApplication):
|
||||||
for backend, obj in self.do('fillobj', obj, fields, backends=[obj.backend]):
|
for backend, obj in self.do('fillobj', obj, fields, backends=[obj.backend]):
|
||||||
if obj:
|
if obj:
|
||||||
return obj
|
return obj
|
||||||
_id, backend_name = self.parse_id(_id, unique_backend=True)
|
_id, backend_name = self.parse_id(_id)
|
||||||
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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue