summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-11-11 23:39:43 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2014-11-17 15:03:48 -0800
commitd2fe038cafc2fb2f8835bc1d4e51df4b567c0e59 (patch)
tree008e6205ae6d7c6b3bcf6c89768f2fa8dda8541d
parent321a3a55c73b4f48a5b51f19736d70484cfd4078 (diff)
downloadspack-d2fe038cafc2fb2f8835bc1d4e51df4b567c0e59.tar.gz
spack-d2fe038cafc2fb2f8835bc1d4e51df4b567c0e59.tar.bz2
spack-d2fe038cafc2fb2f8835bc1d4e51df4b567c0e59.tar.xz
spack-d2fe038cafc2fb2f8835bc1d4e51df4b567c0e59.zip
Minor bugfix for 404 error on fetch.
-rw-r--r--lib/spack/spack/fetch_strategy.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class URLFetchStrategy(FetchStrategy):
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