we pass base_path, not object_path (clearification)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
b3337a18b9
commit
c7d0d581b1
1 changed files with 2 additions and 2 deletions
|
@ -132,9 +132,9 @@ class Object(object):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
type_path = self.type.base_path
|
type_path = self.type.base_path
|
||||||
object_path = self.base_path
|
base_path = self.base_path
|
||||||
type_name, object_id = self.split_name(object_name)
|
type_name, object_id = self.split_name(object_name)
|
||||||
return self.__class__(self.type.__class__(type_path, type_name), object_path, object_id=object_id)
|
return self.__class__(self.type.__class__(type_path, type_name), base_path, object_id=object_id)
|
||||||
|
|
||||||
# FIXME: still needed?
|
# FIXME: still needed?
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in a new issue