From c7d0d581b1bf044d42d5ffadea64a1ce840e6c0e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 9 Nov 2011 18:41:46 +0100 Subject: [PATCH] we pass base_path, not object_path (clearification) Signed-off-by: Nico Schottelius --- lib/cdist/core/object.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cdist/core/object.py b/lib/cdist/core/object.py index 778bebe8..db818f11 100644 --- a/lib/cdist/core/object.py +++ b/lib/cdist/core/object.py @@ -132,9 +132,9 @@ class Object(object): """ 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) - 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? @property