From a8733c5b9b87214ebf922d99ed3f1b2543fb6c43 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Fri, 14 Oct 2011 08:57:06 +0200 Subject: [PATCH] make base_path public Signed-off-by: Steven Armstrong --- lib/cdist/core/type.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cdist/core/type.py b/lib/cdist/core/type.py index 58a147b7..8cf21ce7 100644 --- a/lib/cdist/core/type.py +++ b/lib/cdist/core/type.py @@ -57,10 +57,10 @@ class Type(object): return cls._instances[name] def __init__(self, base_path, name): - self._base_path = base_path + self.base_path = base_path self.name = name self.path = self.name - self.absolute_path = os.path.join(self._base_path, self.path) + self.absolute_path = os.path.join(self.base_path, self.path) self.manifest_path = os.path.join(self.name, "manifest") self.explorer_path = os.path.join(self.name, "explorer") self.gencode_local_path = os.path.join(self.name, "gencode-local")