forked from ungleich-public/cdist
implement explorer_out_dir
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
36803d16db
commit
6e011dc289
1 changed files with 7 additions and 0 deletions
|
@ -116,6 +116,13 @@ class Object(object):
|
||||||
def code_remote(self):
|
def code_remote(self):
|
||||||
return os.path.join(self.path, "code-remote")
|
return os.path.join(self.path, "code-remote")
|
||||||
|
|
||||||
|
@property
|
||||||
|
def explorer_out_dir(self):
|
||||||
|
path = os.path.join(self.path, "explorer")
|
||||||
|
if not os.path.isdir(path):
|
||||||
|
os.mkdir(path)
|
||||||
|
return path
|
||||||
|
|
||||||
### requirements
|
### requirements
|
||||||
@property
|
@property
|
||||||
def requirements(self):
|
def requirements(self):
|
||||||
|
|
Loading…
Reference in a new issue