Fix error raising during install with Python 3 (#6894)

* Fix error raising during install with Python 3

* Fix env_path too
This commit is contained in:
Adam J. Stewart
2018-03-22 19:37:49 -05:00
committed by GitHub
parent 32a78eae73
commit f721fb3e4c

View File

@@ -820,10 +820,16 @@ def stage(self, stage):
@property
def env_path(self):
if self.stage.source_path is None:
return None
else:
return os.path.join(self.stage.source_path, 'spack-build.env')
@property
def log_path(self):
if self.stage.source_path is None:
return None
else:
return os.path.join(self.stage.source_path, 'spack-build.out')
def _make_fetcher(self):