From 96c059983a93aa50e97a603c238a3866102ab4d7 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 11 Oct 2011 10:28:10 +0200 Subject: [PATCH] - legacy code, + docstrings Signed-off-by: Steven Armstrong --- lib/cdist/core/object.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/cdist/core/object.py b/lib/cdist/core/object.py index 83446ad7..eda7eb40 100644 --- a/lib/cdist/core/object.py +++ b/lib/cdist/core/object.py @@ -74,9 +74,6 @@ class Object(object): self.code_remote_path = os.path.join(self.path, "code-remote") self.parameter_path = os.path.join(self.path, "parameter") - self.__parameters = None - self.__requirements = None - def __repr__(self): return '' % self.name @@ -86,6 +83,7 @@ class Object(object): @property def explorer_path(self): + """Create and return the relative path to this objects explorers""" # create absolute path path = os.path.join(self.absolute_path, "explorer") if not os.path.isdir(path):