Minor bugfix for 404 error on fetch.
This commit is contained in:
parent
321a3a55c7
commit
d2fe038caf
@ -156,7 +156,7 @@ def fetch(self):
|
|||||||
|
|
||||||
if spack.curl.returncode == 22:
|
if spack.curl.returncode == 22:
|
||||||
# This is a 404. Curl will print the error.
|
# This is a 404. Curl will print the error.
|
||||||
raise FailedDownloadError(url)
|
raise FailedDownloadError(self.url)
|
||||||
|
|
||||||
if spack.curl.returncode == 60:
|
if spack.curl.returncode == 60:
|
||||||
# This is a certificate error. Suggest spack -k
|
# This is a certificate error. Suggest spack -k
|
||||||
|
Loading…
Reference in New Issue
Block a user