we pass base_path, not object_path (clearification)

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent b3337a18b9
commit c7d0d581b1
  1. 4
      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

Loading…
Cancel
Save