summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-05-16 11:31:40 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-05-16 11:33:17 -0700
commite0c7a63a5a480c37d4879b93f131d5f730ef5722 (patch)
tree92e12a0cf195090039d42b71db8b1f7e3fcef18a /lib
parente6e1b332be04644904ccf1c7fa4b1d613d289915 (diff)
downloadspack-e0c7a63a5a480c37d4879b93f131d5f730ef5722.tar.gz
spack-e0c7a63a5a480c37d4879b93f131d5f730ef5722.tar.bz2
spack-e0c7a63a5a480c37d4879b93f131d5f730ef5722.tar.xz
spack-e0c7a63a5a480c37d4879b93f131d5f730ef5722.zip
Bugfix in error message.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index 4e0c4c87a9..f4bb54ca7d 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -539,7 +539,7 @@ class Package(object):
if spack.do_checksum and not self.version in self.versions:
raise ChecksumError(
"Cannot fetch %s safely; there is no checksum on file for version %s."
- % self.version,
+ % (self.name, self.version),
"Add a checksum to the package file, or use --no-checksum to "
"skip this check.")