- legacy code, + docstrings
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
af83c7af8e
commit
96c059983a
1 changed files with 1 additions and 3 deletions
|
@ -74,9 +74,6 @@ class Object(object):
|
||||||
self.code_remote_path = os.path.join(self.path, "code-remote")
|
self.code_remote_path = os.path.join(self.path, "code-remote")
|
||||||
self.parameter_path = os.path.join(self.path, "parameter")
|
self.parameter_path = os.path.join(self.path, "parameter")
|
||||||
|
|
||||||
self.__parameters = None
|
|
||||||
self.__requirements = None
|
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<Object %s>' % self.name
|
return '<Object %s>' % self.name
|
||||||
|
|
||||||
|
@ -86,6 +83,7 @@ class Object(object):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def explorer_path(self):
|
def explorer_path(self):
|
||||||
|
"""Create and return the relative path to this objects explorers"""
|
||||||
# create absolute path
|
# create absolute path
|
||||||
path = os.path.join(self.absolute_path, "explorer")
|
path = os.path.join(self.absolute_path, "explorer")
|
||||||
if not os.path.isdir(path):
|
if not os.path.isdir(path):
|
||||||
|
|
Loading…
Reference in a new issue