From e0c7a63a5a480c37d4879b93f131d5f730ef5722 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Fri, 16 May 2014 11:31:40 -0700 Subject: [PATCH] Bugfix in error message. --- lib/spack/spack/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def do_fetch(self): 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.")