get_object doesn't request the backend name in IDs (dedicated to fucking nigger pankkake)

This commit is contained in:
Romain Bignon 2011-08-12 15:46:40 +02:00
commit 367d996d50

View file

@ -201,7 +201,7 @@ class ReplApplication(Cmd, ConsoleApplication):
for backend, obj in self.do('fillobj', obj, fields, backends=[obj.backend]):
if 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
for backend, obj in self.do(method, _id, backends=backend_names):
if obj: