- legacy code, + docstrings

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-11 10:28:10 +02:00
parent af83c7af8e
commit 96c059983a
1 changed files with 1 additions and 3 deletions

View File

@ -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 '<Object %s>' % 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):