From b778c9ff15f9ab61875257ca1a905d86dca636c0 Mon Sep 17 00:00:00 2001
From: Steven Armstrong <steven@icarus.ethz.ch>
Date: Fri, 7 Oct 2011 16:59:52 +0200
Subject: [PATCH] absolute path is based on relative path -> does not need
 another .cdist

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
---
 lib/cdist/core/object.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cdist/core/object.py b/lib/cdist/core/object.py
index 4cbcd550..12d16838 100644
--- a/lib/cdist/core/object.py
+++ b/lib/cdist/core/object.py
@@ -69,7 +69,7 @@ class Object(object):
         self.object_id = object_id
         self.name = os.path.join(self.type.name, self.object_id)
         self.path = os.path.join(self.type.path, self.object_id, DOT_CDIST)
-        self.absolute_path = os.path.join(self.base_path, self.path, DOT_CDIST)
+        self.absolute_path = os.path.join(self.base_path, self.path)
         self.code_local_path = os.path.join(self.path, "code-local")
         self.code_remote_path = os.path.join(self.path, "code-remote")
         self.parameter_path = os.path.join(self.path, "parameter")