Added another "fix" necessary to make spack setup work.

This commit is contained in:
Elizabeth Fischer
2016-11-12 12:56:34 -05:00
parent c4b6ab777f
commit 7f0d3ecb38

View File

@@ -260,9 +260,10 @@ def check_installed(self, spec):
return None return None
if not os.path.isfile(spec_file_path): if not os.path.isfile(spec_file_path):
raise InconsistentInstallDirectoryError( return None
'Install prefix exists but contains no spec.yaml:', # raise InconsistentInstallDirectoryError(
" " + path) # 'Install prefix exists but contains no spec.yaml:',
# " " + path)
installed_spec = self.read_spec(spec_file_path) installed_spec = self.read_spec(spec_file_path)
if installed_spec == spec: if installed_spec == spec: