From d2fe038cafc2fb2f8835bc1d4e51df4b567c0e59 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Tue, 11 Nov 2014 23:39:43 -0800 Subject: [PATCH] Minor bugfix for 404 error on fetch. --- lib/spack/spack/fetch_strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/fetch_strategy.py b/lib/spack/spack/fetch_strategy.py index 80e2cdf413..d48b999ddc 100644 --- a/lib/spack/spack/fetch_strategy.py +++ b/lib/spack/spack/fetch_strategy.py @@ -156,7 +156,7 @@ def fetch(self): if spack.curl.returncode == 22: # This is a 404. Curl will print the error. - raise FailedDownloadError(url) + raise FailedDownloadError(self.url) if spack.curl.returncode == 60: # This is a certificate error. Suggest spack -k